Ticket #6628: #6628_ticket.patch
File #6628_ticket.patch, 1.2 KB (added by , 13 years ago) |
---|
-
ckeditor_php4.php
524 524 525 525 $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath)); 526 526 $fileUrl = substr($file, strlen($documentRoot)); 527 $ckeditorUrl = str_replace("ckeditor_php 5.php", "", $fileUrl);527 $ckeditorUrl = str_replace("ckeditor_php4.php", "", $fileUrl); 528 528 529 529 return $ckeditorUrl; 530 530 } … … 570 570 array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"')); 571 571 572 572 $val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val); 573 if (strtoupper(substr($val, 0, 9)) == 'CKEDITOR.') return $val; 573 574 574 575 return '"' . $val . '"'; 575 576 } -
ckeditor_php5.php
560 560 array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"')); 561 561 562 562 $val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val); 563 if (strtoupper(substr($val, 0, 9)) == 'CKEDITOR.') return $val; 563 564 564 565 return '"' . $val . '"'; 565 566 }