Changeset 855 for devel/_tinymce
- Timestamp:
- 01/23/07 04:47:18 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/_tinymce/jscripts/tiny_mce/tiny_mce_gzip.php
r848 r855 1 1 <?php 2 // NB: THIS FILE HAS CHANGED FROM UPSTREAM 3 4 require_once(dirname(dirname(dirname(dirname(__FILE__))))."/config.php"); 5 2 6 /** 3 7 * $Id: tiny_mce_gzip.php 158 2006-12-21 14:32:19Z spocke $ … … 21 25 $isJS = getParam("js", "") == "true"; 22 26 $compress = getParam("compress", "true") == "true"; 23 $suffix = getParam("suffix", " _src") == "_src" ? "_src" : "";24 $cachePath = realpath( "."); // Cache path, this is where the .gz files will be stored27 $suffix = getParam("suffix", "") == "_src" ? "_src" : ""; // CHANGED FROM UPSTREAM 28 $cachePath = realpath($CFG->dataroot . "cache"); // Cache path, this is where the .gz files will be stored // CHANGED FROM UPSTREAM 25 29 $expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache 26 30 $content = "";
