Makes it easier to clear the cache
This commit is contained in:
parent
ce14c0c926
commit
8eaedb3d5c
|
|
@ -171,7 +171,7 @@ class CombineAssets
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->path = $cacheInfo['path'];
|
$this->path = $cacheInfo['path'];
|
||||||
$this->storagePath = storage_path().'/cms/combiner';
|
$this->storagePath = storage_path().'/cms/combiner/assets';
|
||||||
|
|
||||||
$combiner = $this->prepareCombiner($cacheInfo['files']);
|
$combiner = $this->prepareCombiner($cacheInfo['files']);
|
||||||
$contents = $combiner->dump();
|
$contents = $combiner->dump();
|
||||||
|
|
@ -278,7 +278,7 @@ class CombineAssets
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->path = public_path().$path;
|
$this->path = public_path().$path;
|
||||||
$this->storagePath = storage_path().'/cms/combiner';
|
$this->storagePath = storage_path().'/cms/combiner/assets';
|
||||||
|
|
||||||
list($assets, $extension) = $this->prepareAssets($assets);
|
list($assets, $extension) = $this->prepareAssets($assets);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue