mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -206,7 +206,7 @@ if ( $msie = strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) {
|
||||
}
|
||||
|
||||
// Cache path, this is where the .gz files will be stored
|
||||
$cache_path = ABSPATH . 'wp-content/uploads/js_cache';
|
||||
$cache_path = WP_CONTENT_DIR . '/uploads/js_cache';
|
||||
if ( $disk_cache && ! is_dir($cache_path) )
|
||||
$disk_cache = wp_mkdir_p($cache_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user