Improvements and typos

This commit is contained in:
genuineparts 2025-06-23 20:13:52 +02:00
parent 3bdbc74b0e
commit 5b27274fa7
13 changed files with 78 additions and 75 deletions

View file

@ -68,11 +68,6 @@ require dirname(__FILE__, 2) .'/inc/logger.class.php';
*/
require dirname(__FILE__, 2) .'/inc/datacache.class.php';
/**
* Cache
*/
require dirname(__FILE__, 2) .'/inc/cache.class.php';
/**
* Errors
*/
@ -119,10 +114,16 @@ if($config['LCLANG']){
$cache=new datacache();
/**
* Start Datacache
*
* Start Cache
* I think this is vestigial and can be deleted. Hesitant to remove it because some instance in the wild may use this?
*/
$ccache=new cache();
if(isset($config['MEMCACHE_SERVER'])) {
/**
* Cache
*/
require dirname(__FILE__, 2) .'/inc/cache.class.php';
$ccache = new cache();
}
/**
* Look if we have a path Variable and try to autoset if not.