Ticket #8885: patch.diff
File patch.diff, 1004 bytes (added by , 12 years ago) |
---|
-
ckeditor_php4.php
old new 519 519 520 520 $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath)); 521 521 $fileUrl = substr($file, strlen($documentRoot)); 522 $ckeditorUrl = str_replace("ckeditor_php4.php", "", $fileUrl); 522 $included_files = get_included_files(); 523 $ckeditorUrl = str_replace(basename(array_pop($included_files)), "", $fileUrl); 523 524 524 525 return $ckeditorUrl; 525 526 } -
ckeditor_php5.php
old new 510 510 511 511 $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath)); 512 512 $fileUrl = substr($file, strlen($documentRoot)); 513 $ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl); 513 $included_files = get_included_files(); 514 $ckeditorUrl = str_replace(basename(array_pop($included_files)), "", $fileUrl); 514 515 515 516 return $ckeditorUrl; 516 517 }