|
@@ -125,18 +125,18 @@ try {
|
|
|
define('NOPROXY',true);
|
|
|
}
|
|
|
|
|
|
- $params = $_GET;
|
|
|
- unset($params['action']);
|
|
|
- unset($params['bridge']);
|
|
|
- unset($params['format']);
|
|
|
- unset($params['_noproxy']);
|
|
|
-
|
|
|
// Initialize cache
|
|
|
$cache = Cache::create('FileCache');
|
|
|
$cache->setPath(CACHE_DIR);
|
|
|
$cache->purgeCache(86400); // 24 hours
|
|
|
$cache->setParameters($params);
|
|
|
|
|
|
+ $params = $_GET;
|
|
|
+ unset($params['action']);
|
|
|
+ unset($params['bridge']);
|
|
|
+ unset($params['format']);
|
|
|
+ unset($params['_noproxy']);
|
|
|
+
|
|
|
// Load cache & data
|
|
|
$bridge->setCache($cache);
|
|
|
$bridge->setDatas($params);
|