Always us /zm in cache_bust
This commit is contained in:
parent
10531df543
commit
cf4a1c73fd
|
@ -2064,7 +2064,7 @@ function cache_bust( $file ) {
|
|||
$dirname = preg_replace( '/\//', '_', $parts['dirname'] );
|
||||
$cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.filemtime($file).'.'.$parts['extension'];
|
||||
if ( file_exists(ZM_DIR_CACHE.'/'.$cacheFile) or symlink(ZM_PATH_WEB.'/'.$file, ZM_DIR_CACHE.'/'.$cacheFile) ) {
|
||||
return 'cache/'.$cacheFile;
|
||||
return '/zm/cache/'.$cacheFile;
|
||||
} else {
|
||||
Warning("Failed linking $file to $cacheFile");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue