Changeset 855 for devel/_tinymce

Show
Ignore:
Timestamp:
01/23/07 04:47:18 (2 years ago)
Author:
sven
Message:

tinymce: reenable disk caching, reduce javascript code footprint, enable per-plugin language support with english failover. had to modify core tinymce as it doesn't pass all of its params.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_tinymce/jscripts/tiny_mce/tiny_mce_gzip.php

    r848 r855  
    11<?php 
     2// NB: THIS FILE HAS CHANGED FROM UPSTREAM 
     3 
     4require_once(dirname(dirname(dirname(dirname(__FILE__))))."/config.php"); 
     5 
    26/** 
    37 * $Id: tiny_mce_gzip.php 158 2006-12-21 14:32:19Z spocke $ 
     
    2125        $isJS = getParam("js", "") == "true"; 
    2226        $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 stored 
     27        $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 
    2529        $expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache 
    2630        $content = "";