netcarver/asy_jpcache — Issue #1: Variables of jpcache-config.php
Author: geralt
Created: 2012-02-10 20:30:39+00:00
State: open

Hi,

The plugin is great but I would suggest an improved.

Is posible to use variables declared on 'jpcache-config.php' from admin panel? In that way, you could change these lines into pluging code:

function asy_jpcachecleaner() {
...
$asy_cache_dir = $path_to_site .'/jpcache/cache';
...
include $path_to_site .'/jpcache/jpcache-config.php';
....
}

The plugin could function despite it is installed on a different folder than default folder: '/jpcache' and it will be more flexible.

Regards

P.D. sorry for my english :-)