Changeset 574 for trunk/lib


Ignore:
Timestamp:
Feb 27, 2017 2:14:51 PM (7 years ago)
Author:
anonymous
Message:

Minor update to string formatting.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/CSS.inc.php

    r555 r574  
    145145        }
    146146
    147         header('Content-Type: text/css; charset=' . $this->getParam('character_set'));
     147        header(sprintf('Content-Type: text/css; charset=%s', $this->getParam('character_set')));
    148148        header(sprintf('Last-Modified: %s GMT', gmdate('D, d M Y H:i:s', $latest_mtime), null));
    149149        if ($this->getParam('cache_enable')) {
  • trunk/lib/JS.inc.php

    r555 r574  
    145145        }
    146146
    147         header('Content-Type: application/javascript; charset=' . $this->getParam('character_set'));
     147        header(sprintf('Content-Type: application/javascript; charset=%s', $this->getParam('character_set')));
    148148        header(sprintf('Last-Modified: %s GMT', gmdate('D, d M Y H:i:s', $latest_mtime), null));
    149149        if ($this->getParam('cache_enable')) {
Note: See TracChangeset for help on using the changeset viewer.