mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Changed cache_dir to respect TEMP_FOLDER
This commit is contained in:
parent
e7dbb27498
commit
96962a92cf
4
thirdparty/tinymce/tiny_mce_gzip.php
vendored
4
thirdparty/tinymce/tiny_mce_gzip.php
vendored
@ -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
|
||||
));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user