]> git.pld-linux.org Git - packages/fckeditor.git/blame - fckeditor-config-php.patch
- allow loading config outside fckeditor source
[packages/fckeditor.git] / fckeditor-config-php.patch
CommitLineData
c992f1a5
ER
1--- fckeditor-2.6.3/editor/filemanager/connectors/php/config.php~ 2008-08-21 18:08:21.839396372 +0300
2+++ fckeditor-2.6.3/editor/filemanager/connectors/php/config.php 2008-08-21 18:11:08.000000000 +0300
3@@ -148,4 +148,7 @@
4 $Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ;
5 $Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] ;
6
7-?>
8+# additional config via webserver setenv directives
9+if (isset($_SERVER['FCKEDITOR_CONFIG'])) {
10+ require $_SERVER['FCKEDITOR_CONFIG'];
11+}
This page took 0.060138 seconds and 4 git commands to generate.