I am using CMS 1.05
I want to use relative paths on image and file uploads (via fckeditor) - so moving server is easier.
I have changed the following paths from default in config.php to
$config['uploads_url'] = 'uploads';
$config['image_uploads_url'] = 'uploads/images';
This gives me the relative paths I need in the fckeditor uploads.
All seems fine apart from
1. Filemanager
It is now using the admin folder in the link path when I try to view an uploaded file
I get http://www.url.dreamhosters.com/cms1/ad ... /test.html
Instead of http://www.url.dreamhosters.com/cms1/up ... /test.html
Code: Select all
( coming from line 305 in admin/files.php ?) $filetext .= '<td><a href="'.$file_links.'" rel="external">'.$file.'</a></td>';
I can't view images in image manager - the path is coming up with
http://www.url.dreamhosters.com/cms1/li ... /logo1.gif
What I need to know
Is there a simpler way of setting relative URLS's without battling with settings on the modules?
If they do need changing what's the most straightforward method?
I'd really appreciate any guidance on this from anyone that has a relative url method that works for them .
Thanks