Ticket #6097: 6097.diff
| File 6097.diff, 619 bytes (added by , 18 years ago) |
|---|
-
wp-includes/js/tinymce/tiny_mce_config.php
155 155 // Cache path, this is where the .gz files will be stored 156 156 $cache_path = ABSPATH . 'wp-content/uploads/js_cache'; 157 157 if ( $disk_cache && ! is_dir($cache_path) ) 158 $disk_cache = mkdir($cache_path); 158 if( is_dir(ABSPATH . 'wp-content/uploads/') || @mkdir(ABSPATH . 'wp-content/uploads/') ) 159 $disk_cache = @mkdir($cache_path); 159 160 160 161 $cache_ext = '.js'; 161 162