From 96962a92cfa64eeb65f412cdddf3aa7110dd96bf Mon Sep 17 00:00:00 2001 From: Stephan Bauer Date: Thu, 12 Feb 2015 15:21:55 +0100 Subject: [PATCH] Changed cache_dir to respect TEMP_FOLDER --- thirdparty/tinymce/tiny_mce_gzip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/tinymce/tiny_mce_gzip.php b/thirdparty/tinymce/tiny_mce_gzip.php index d07fe1b5f..c93571522 100755 --- a/thirdparty/tinymce/tiny_mce_gzip.php +++ b/thirdparty/tinymce/tiny_mce_gzip.php @@ -12,14 +12,14 @@ $frameworkPath = rtrim(dirname(dirname(dirname(__FILE__))), DIRECTORY_SEPARATOR); $basePath = rtrim(dirname($frameworkPath), DIRECTORY_SEPARATOR); -require_once $frameworkPath . '/core/TempPath.php'; +require_once $frameworkPath . '/core/Constants.php'; // Handle incoming request if it's a script call if (TinyMCE_Compressor::getParam("js")) { // Default settings $tinyMCECompressor = new TinyMCE_Compressor(array( // CUSTOM SilverStripe - 'cache_dir' => getTempFolder($basePath) + 'cache_dir' => TEMP_FOLDER // CUSTOM END ));