Index: branches/5.1.x/core/editor/fckeditor.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/editor/fckeditor.php (.../fckeditor.php) (revision 12127) +++ branches/5.1.x/core/editor/fckeditor.php (.../fckeditor.php) (revision 12657) @@ -25,7 +25,10 @@ * strict error messages with PHP 5). */ -if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) - include_once( 'fckeditor_php4.php' ) ; -else - include_once( 'fckeditor_php5.php' ) ; +$fck_folder = realpath( dirname(__FILE__) ); + +if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) { + include_once( $fck_folder . DIRECTORY_SEPARATOR . 'fckeditor_php4.php' ) ; +} else { + include_once( $fck_folder . DIRECTORY_SEPARATOR . 'fckeditor_php5.php' ) ; +}