mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
redoing the change concerning the hostname.
This commit is contained in:
parent
61020cf174
commit
ed33d28e61
6 changed files with 0 additions and 18 deletions
|
@ -24,9 +24,6 @@ function cli_startup() {
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
$a->set_baseurl(get_config('system','url'));
|
||||
|
||||
load_hooks();
|
||||
|
|
|
@ -65,9 +65,6 @@ function notifier_run(&$argv, &$argc){
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
load_hooks();
|
||||
|
||||
if($argc < 3)
|
||||
|
|
|
@ -37,9 +37,6 @@ function onepoll_run(&$argv, &$argc){
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
$a->set_baseurl(get_config('system','url'));
|
||||
|
||||
load_hooks();
|
||||
|
|
|
@ -30,9 +30,6 @@ function poller_run(&$argv, &$argc){
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
$maxsysload = intval(get_config('system','maxloadavg'));
|
||||
if($maxsysload < 1)
|
||||
$maxsysload = 50;
|
||||
|
|
|
@ -25,9 +25,6 @@ function queue_run(&$argv, &$argc){
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
$a->set_baseurl(get_config('system','url'));
|
||||
|
||||
load_hooks();
|
||||
|
|
|
@ -53,9 +53,6 @@ if(!$install) {
|
|||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
if ($hostname = get_config('system', 'hostname'))
|
||||
$a->set_hostname($hostname);
|
||||
|
||||
require_once("include/session.php");
|
||||
load_hooks();
|
||||
call_hooks('init_1');
|
||||
|
|
Loading…
Reference in a new issue