mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
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
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
use \Friendica\Core\Config;
|
||||
|
||||
require_once("boot.php");
|
||||
require_once('include/queue_fn.php');
|
||||
require_once('include/dfrn.php');
|
||||
|
@ -23,8 +26,7 @@ function queue_run(&$argv, &$argc){
|
|||
require_once('include/bbcode.php');
|
||||
require_once('include/socgraph.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