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();
-}
\ No newline at end of file
+}
return false;
else
return $val;
- } else
+ }
+ // else
//logger("APC: cache miss for value ".$family."|".$key, LOGGER_DEBUG);
return false;
else
return $val;
- } else
+ } // else
//logger("APC: cache miss for value ".$family."|".$key, LOGGER_DEBUG);
load_config('config');
load_config('system');
+ if ($hostname = get_config('system', 'hostname'))
+ $a->set_hostname($hostname);
+
$lockpath = get_config('system','lockpath');
if ($lockpath != '') {
$pidfile = new pidfile($lockpath, 'cron.lck');
load_config('config');
load_config('system');
+ if ($hostname = get_config('system', 'hostname'))
+ $a->set_hostname($hostname);
+
load_hooks();
if($argc < 3)
load_config('config');
load_config('system');
+ if ($hostname = get_config('system', 'hostname'))
+ $a->set_hostname($hostname);
$a->set_baseurl(get_config('system','url'));
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();
load_config('config');
load_config('system');
+ if ($hostname = get_config('system', 'hostname'))
+ $a->set_hostname($hostname);
+
load_hooks();
if($argc < 3)
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();
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;
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();
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');