Fix unit tests and misuse of global scope

This commit is contained in:
Kijin Sung 2016-01-16 14:05:51 +09:00
parent 19ec92fc68
commit 08e7f7e32a
5 changed files with 4 additions and 6 deletions

View file

@ -46,7 +46,7 @@ if(file_exists(RX_BASEDIR . 'config/config.user.inc.php'))
/**
* Define the list of legacy class names for the autoloader.
*/
$RX_AUTOLOAD_FILE_MAP = array_change_key_case(array(
$GLOBALS['RX_AUTOLOAD_FILE_MAP'] = array_change_key_case(array(
'CacheBase' => 'classes/cache/CacheHandler.class.php',
'CacheHandler' => 'classes/cache/CacheHandler.class.php',
'Context' => 'classes/context/Context.class.php',