Added an option to configure the hostname manually. And there was a problem when APC wasn't present.

This commit is contained in:
Michael Vogel 2013-08-11 21:19:26 +02:00
parent d92a348cf0
commit e746c4955b
11 changed files with 33 additions and 3 deletions

View file

@ -25,6 +25,8 @@ function expire_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'));