Changeset 4863


Ignore:
Timestamp:
12/30/2009 02:40:32 PM (6 years ago)
Author:
wwalc
Message:

#4924 - PHP integration is not using the timestamp in the ckeditor.js script

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/ckeditor_php4.php

    r4858 r4863  
    457457                $ckeditorPath = $this->ckeditorPath();
    458458
    459                 if (!empty($this->timestamp) && $this->timestamp != "%TIMESTAMP%") {
     459                if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") {
    460460                        $args = '?t=' . $this->timestamp;
    461461                }
     
    474474                }
    475475                // %REMOVE_END%
    476                 if (!empty($this->timestamp) && $this->timestamp != $this->_timestamp) {
     476                if ($this->timestamp != $this->_timestamp) {
    477477                        $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';";
    478478                }
  • CKEditor/trunk/ckeditor_php5.php

    r4858 r4863  
    449449                $ckeditorPath = $this->ckeditorPath();
    450450
    451                 if (!empty($this->timestamp) && $this->timestamp != "%TIMESTAMP%") {
     451                if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") {
    452452                        $args = '?t=' . $this->timestamp;
    453453                }
     
    466466                }
    467467                // %REMOVE_END%
    468                 if (!empty($this->timestamp) && $this->timestamp != self::timestamp) {
     468                if ($this->timestamp != self::timestamp) {
    469469                        $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';";
    470470                }
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy