The config class now makes less database reads.
This commit is contained in:
parent
045e94ccf3
commit
0548099f6c
29 changed files with 153 additions and 107 deletions
|
|
@ -72,8 +72,7 @@ function pubsubpublish_run(&$argv, &$argc){
|
|||
|
||||
require_once('include/items.php');
|
||||
|
||||
load_config('config');
|
||||
load_config('system');
|
||||
Config::load();
|
||||
|
||||
// Don't check this stuff if the function is called by the poller
|
||||
if (App::callstack() != "poller_run") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue