[limb-svn] r6931 - in 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager: browser/default/connectors/php upload/php

svn at limb-project.com svn at limb-project.com
Mon Apr 14 18:23:06 MSD 2008


Author: wiliam
Date: 2008-04-14 18:23:06 +0400 (Mon, 14 Apr 2008)
New Revision: 6931
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6931

Modified:
   3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
   3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/upload/php/config.php
Log:
-- some hack for FCKeditor to upload files to folder under DOCUMENT ROOT by default (it's hard to override such settings, so we hacked that settings)

Modified: 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
===================================================================
--- 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/browser/default/connectors/php/config.php	2008-04-14 11:22:49 UTC (rev 6930)
+++ 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/browser/default/connectors/php/config.php	2008-04-14 14:23:06 UTC (rev 6931)
@@ -27,7 +27,6 @@
 // SECURITY: You must explicitelly enable this "connector". (Set it to "true").
 $Config['Enabled'] = true ;
 
-
 // Path to user files relative to the document root.
 $Config['UserFilesPath'] = '/userfiles/' ;
 
@@ -35,7 +34,7 @@
 // user files directory. Usefull if you are using a virtual directory, symbolic
 // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 // Attention: The above 'UserFilesPath' must point to the same directory.
-$Config['UserFilesAbsolutePath'] = '' ;
+$Config['UserFilesAbsolutePath'] = getenv('DOCUMENT_ROOT') . '/userfiles/' ;
 
 // Due to security issues with Apache modules, it is reccomended to leave the
 // following setting enabled.

Modified: 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/upload/php/config.php
===================================================================
--- 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/upload/php/config.php	2008-04-14 11:22:49 UTC (rev 6930)
+++ 3.x/trunk/limb/wysiwyg/shared/fckeditor/editor/filemanager/upload/php/config.php	2008-04-14 14:23:06 UTC (rev 6931)
@@ -38,7 +38,7 @@
 // user files directory. Usefull if you are using a virtual directory, symbolic
 // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 // Attention: The above 'UserFilesPath' must point to the same directory.
-$Config['UserFilesAbsolutePath'] = '' ;
+$Config['UserFilesAbsolutePath'] = getenv('DOCUMENT_ROOT') . '/userfiles/' ;
 
 // Due to security issues with Apache modules, it is reccomended to leave the
 // following setting enabled.



More information about the limb-svn mailing list