mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Added an option to configure the hostname manually. And there was a problem when APC wasn't present.
This commit is contained in:
parent
d92a348cf0
commit
e746c4955b
11 changed files with 33 additions and 3 deletions
|
@ -24,8 +24,11 @@ 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();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue