but when i go to the page using the sub directory route (ie clients.domain.co.uk/folder/inde.php) I get this error:
Warning: scandir(../home/xxxxx8wh/public_html/gallery/images) [function.scandir]: failed to open dir: No such file or directory in /home/motle8wh/public_html/gallery/admin_gallery/common/functions.php on line 721
If I go to the page normally (ie index.php) then it works absolutley fine....