Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

added custom cache store #81

Closed
wants to merge 2 commits into from

Conversation

SamsamBabadi
Copy link

For example, in some case may application use redis cache but want to use file cache for imges

LaurentChardin added a commit to LaurentChardin/imagecache that referenced this pull request Jul 27, 2017
Waiting for Intervention#81 to be merged in main repository.
// change cache store if set
$cacheStore = $app->config->get('imagecache.cache-store', null);
if(!is_null($cacheStore)) {
$cache = $cache->store($cacheStore);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be instead:
$this->cache = $cache->store($cacheStore);

@LaurentChardin
Copy link

#50 was merged, i think this one can be closed as this is a duplicate.

@olivervogel olivervogel closed this Aug 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants