mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Core/Config
* convert configuration from list of constants to object * fixes config changes not applying on cli whithout closing and reopening again * config variables are no longer embedded in localization text
This commit is contained in:
@@ -79,7 +79,7 @@ class DB
|
||||
// make number sensible again
|
||||
$data['code'] = abs($data['code']);
|
||||
|
||||
if (defined('CFG_DEBUG') && CFG_DEBUG)
|
||||
if (Cfg::get('DEBUG') >= CLI::LOG_INFO)
|
||||
{
|
||||
echo "\nDB ERROR\n";
|
||||
foreach ($data as $k => $v)
|
||||
|
||||
Reference in New Issue
Block a user