Pulling images from a subdomain

Managed to solve it myself..

So if anyone else has this problem.

Because the sub-domain is still under the main domain you do not have to put –

/home/hostname/subdomain.com

you only need the

/home/sub-domain.com

and everything will work..

hope this helps someone..
Richard

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)