Browse Source

redoing the change concerning the hostname.

pull/758/head
Michael Vogel 7 years ago
parent
commit
ed33d28e61
6 changed files with 0 additions and 18 deletions
  1. +0
    -3
      include/cli_startup.php
  2. +0
    -3
      include/notifier.php
  3. +0
    -3
      include/onepoll.php
  4. +0
    -3
      include/poller.php
  5. +0
    -3
      include/queue.php
  6. +0
    -3
      index.php

+ 0
- 3
include/cli_startup.php View File

@ -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();


+ 0
- 3
include/notifier.php View File

@ -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)


+ 0
- 3
include/onepoll.php View File

@ -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();


+ 0
- 3
include/poller.php View File

@ -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;


+ 0
- 3
include/queue.php View File

@ -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();


+ 0
- 3
index.php View File

@ -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…
Cancel
Save