mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
[index] Initialize variable before using it
This commit is contained in:
@@ -125,13 +125,14 @@ try {
|
||||
define('NOPROXY',true);
|
||||
}
|
||||
|
||||
$params = $_GET;
|
||||
|
||||
// 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']);
|
||||
|
Reference in New Issue
Block a user