include the config file in fckeditor/editor/filemanager/browser/default/connectors/php/config.php
and change the UserFilePath variable:
$Config['UserFilesPath'] = FCK_MEDIA_PATH; In my file:
include ('../../../../../../../../inc/configuration.php); // Path to user files relative to the document root. //$Config['UserFilesPath'] = '/aurasoma/media/' ; $Config['UserFilesPath'] = FCK_MEDIA_PATH; //Or whatever you want.
Re: asign variable to UserFilesPath
Re: asign variable to UserFilesPath
What i did:
include the config file in
fckeditor/editor/filemanager/browser/default/connectors/php/config.php
and change the UserFilePath variable:
$Config['UserFilesPath'] = FCK_MEDIA_PATH;
In my file:
include ('../../../../../../../../inc/configuration.php);
// Path to user files relative to the document root.
//$Config['UserFilesPath'] = '/aurasoma/media/' ;
$Config['UserFilesPath'] = FCK_MEDIA_PATH; //Or whatever you want.
Re: asign variable to UserFilesPath
if ( ! defined( "PATH_SEPARATOR" ) ) { if ( strpos( $_ENV[ "OS" ], "Win" ) !== false ) define( "PATH_SEPARATOR", ";" ); else define( "PATH_SEPARATOR", ":" ); } ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.'../../../../../../includes'); include_once("settings.php");and then in my settings.php file I have the following:
The above works great in either Windows or Linux.
Thanks