diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/account.php | 2 | ||||
-rw-r--r-- | include/cli_startup.php | 2 | ||||
-rw-r--r-- | include/gprobe.php | 2 | ||||
-rw-r--r-- | include/onepoll.php | 2 | ||||
-rw-r--r-- | include/poller.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/account.php b/include/account.php index b850fcffd..9f967f2c3 100644 --- a/include/account.php +++ b/include/account.php @@ -263,7 +263,7 @@ function send_verification_email($email,$password) { '$password' => $password, )); - $res = mail($email, sprintf( t('Registration details for %s'), get_config('config','sitename')), + $res = mail($email, sprintf( t('Registration details for %s'), get_config('system','sitename')), $email_msg, 'From: ' . t('Administrator') . '@' . get_app()->get_hostname() . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n" diff --git a/include/cli_startup.php b/include/cli_startup.php index 589696b85..d9f6ecb8e 100644 --- a/include/cli_startup.php +++ b/include/cli_startup.php @@ -24,7 +24,7 @@ function cli_startup() { load_config('config'); load_config('system'); - $a->set_baseurl(get_config('system','url')); + $a->set_baseurl(get_config('system','baseurl')); load_hooks(); diff --git a/include/gprobe.php b/include/gprobe.php index dd6f676bf..377d40209 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -24,7 +24,7 @@ function gprobe_run($argv, $argc){ load_config('config'); load_config('system'); - $a->set_baseurl(get_config('system','url')); + $a->set_baseurl(get_config('system','baseurl')); load_hooks(); diff --git a/include/onepoll.php b/include/onepoll.php index f6f266165..1ac38823a 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -29,7 +29,7 @@ function onepoll_run($argv, $argc){ load_config('config'); load_config('system'); - $a->set_baseurl(get_config('system','url')); + $a->set_baseurl(get_config('system','baseurl')); load_hooks(); diff --git a/include/poller.php b/include/poller.php index 5e5d211e4..595cadafe 100644 --- a/include/poller.php +++ b/include/poller.php @@ -40,7 +40,7 @@ function poller_run($argv, $argc){ } - $a->set_baseurl(get_config('system','url')); + $a->set_baseurl(get_config('system','baseurl')); load_hooks(); |