use relative paths in PHP upload and browser connectors
|Reported by:||tokul||Owned by:|
|Priority:||Normal||Milestone:||FCKeditor 2.5 Beta|
|Component:||File Browser||Version:||SVN (FCKeditor) - Retired|
In FCKeditor 2.4.3 and today's (2007-07-06) snapshot editor/filemanager/upload/php/upload.php and editor/filemanager/browser/default/connectors/php/connector.php include files without path. You don't know what you are loading. If include_path does not include current directory (.) and has other directories with config.php, util.php, basexml.php, commands.php or io.php scripts, they will be loaded instead of FCKeditor files.
Use relative paths. "include('./config.php');" instead of "include('config.php');"