I have searched this forum and i haven't been able to find an anwser to this question.
I wanted to keep my media files separately from my main website but i want to be able to upload and link the media files from this domain (where the media files are kept) by using the file manager (and not have to specify the URL) which means i need to specify an absolute path in my file manager script (filemanager/browser/default/connectors/php).
The relative path i have currently works fine but i can't seem to change it to an absolute path in the config.php for my connector (using PHP). Here is the code:
global $Config ;
// Path to user files relative to the document root.
// SECURITY TIP: Uncomment the following line to set a fixed path.
//$Config['UserFilesPath'] = '/UserFiles/';
$Config['UserFilesPath'] = '/uploaded_files/' ;
I am running FCK rc3, how do i change this path to an absolute path? Or is this not possible? Or do i have to modify the connector.php file? If so, how do i change the Serverpath?
An example: My main site runs on http://www.domain1.com and all my media files is on http://www.domain2.com. When i use FCKeditor on http://www.domain1.com and insert a link, i want to be able to browse the media file which is located at http://www.domain2.com. I can easily manually type in the URL to the file i want to link, but the site is also updated by other users with very little technical skills.
P.S. This is the best text editor i have used, will be test driving the new release soon.
Upload file path as an absolute path?