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:
@@ -31,7 +31,7 @@ class GuildPage extends GenericPage
|
||||
{
|
||||
parent::__construct($pageCall, $pageParam);
|
||||
|
||||
if (!CFG_PROFILER_ENABLE)
|
||||
if (!Cfg::get('PROFILER_ENABLE'))
|
||||
$this->error();
|
||||
|
||||
$params = array_map('urldecode', explode('.', $pageParam));
|
||||
@@ -124,7 +124,7 @@ class GuildPage extends GenericPage
|
||||
/**************/
|
||||
|
||||
// tab: members
|
||||
$member = new LocalProfileList(array(['p.guild', $this->subjectGUID], CFG_SQL_LIMIT_NONE));
|
||||
$member = new LocalProfileList(array(['p.guild', $this->subjectGUID], Cfg::get('SQL_LIMIT_NONE')));
|
||||
if (!$member->error)
|
||||
{
|
||||
$this->lvTabs[] = [ProfileList::$brickFile, array(
|
||||
|
||||
Reference in New Issue
Block a user