benjamin-vauchel / SmartOptimizer

This extra is a MODx version of SmartOptimizer by Ali Farhadi (http://farhadi.ir/works/smartoptimizer), a PHP library that enhances your website performance by optimizing the front end using techniques such as minifying, compression, caching, concatenation and embedding.
5 stars 0 forks source link

Custom cache folder #3

Closed Chrisissorry closed 12 years ago

Chrisissorry commented 12 years ago

Hey,

I discovered that changing the setting of smartoptimizer.cache_dir has no effects because in your code you query

$modx->getOption('smartoptimizer.cache_path')

Changed it to smartoptimizer.cache_dir in two places, works now.

Thanks for the plugin and your help!

benjamin-vauchel commented 12 years ago

Thanks Chrisissorry. It's fixed !