From: Elan Ruusamäe Date: Thu, 21 Aug 2008 15:13:38 +0000 (+0000) Subject: - allow loading config outside fckeditor source X-Git-Tag: auto/th/fckeditor-2_6_3-0_16~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffckeditor.git;a=commitdiff_plain;h=c992f1a5fd633104dd561a4c16c3446f15f4121d - allow loading config outside fckeditor source Changed files: fckeditor-config-php.patch -> 1.1 --- diff --git a/fckeditor-config-php.patch b/fckeditor-config-php.patch new file mode 100644 index 0000000..9fd9c7d --- /dev/null +++ b/fckeditor-config-php.patch @@ -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']; ++}