Added an option to configure the hostname manually. And there was a problem when APC wasn't present.
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user