Hi, in file "upload.php" from line 25 to 29 used "require" directive.
Can you change in next release this directive to "require_once"?
This change need in next situation: fckeditor package used for two or more sites and this sites have different "config.php" (for example).
I want load "config.php" before "upload.php" in "my_upload.php". Then I change $Config variable and then load "upload.php".
For example my_upload.php:
<?php
define( LIB_DIR, 'lib' );
require_once( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php/config.php' ) ;
$Config['enable'] = true;
ini_set( 'include_path', realpath( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php' ) );
chdir( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php' );
include_once( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php/upload.php' ) ;
ini_restore( 'include_path' );
?>
And when FCKEditor build new release I simple copy it in my lib directory. Now, when build new release I must merge new and old release.
Sorry for my English. Thanks a lot
Can you change in next release this directive to "require_once"?
This change need in next situation: fckeditor package used for two or more sites and this sites have different "config.php" (for example).
I want load "config.php" before "upload.php" in "my_upload.php". Then I change $Config variable and then load "upload.php".
For example my_upload.php:
<?php
define( LIB_DIR, 'lib' );
require_once( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php/config.php' ) ;
$Config['enable'] = true;
ini_set( 'include_path', realpath( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php' ) );
chdir( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php' );
include_once( LIB_DIR . '/j/fckeditor/editor/filemanager/connectors/php/upload.php' ) ;
ini_restore( 'include_path' );
?>
And when FCKEditor build new release I simple copy it in my lib directory. Now, when build new release I must merge new and old release.
Sorry for my English. Thanks a lot