- allow loading config outside fckeditor source
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Aug 2008 15:13:38 +0000 (15:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fckeditor-config-php.patch -> 1.1

fckeditor-config-php.patch [new file with mode: 0644]

diff --git a/fckeditor-config-php.patch b/fckeditor-config-php.patch
new file mode 100644 (file)
index 0000000..9fd9c7d
--- /dev/null
@@ -0,0 +1,11 @@
+--- fckeditor-2.6.3/editor/filemanager/connectors/php/config.php~      2008-08-21 18:08:21.839396372 +0300
++++ fckeditor-2.6.3/editor/filemanager/connectors/php/config.php       2008-08-21 18:11:08.000000000 +0300
+@@ -148,4 +148,7 @@
+ $Config['QuickUploadPath']['Media']           = $Config['UserFilesPath'] ;
+ $Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] ;
+-?>
++# additional config via webserver setenv directives
++if (isset($_SERVER['FCKEDITOR_CONFIG'])) {
++      require $_SERVER['FCKEDITOR_CONFIG'];
++}
This page took 0.063358 seconds and 4 git commands to generate.