define PSM_UPTIME_ARCHIVE
Define uptime archive if missing. PHP otherweise throws an error for a missing definitionpull/1297/head
parent
601139b866
commit
c86d528e93
|
@ -121,6 +121,12 @@ namespace {
|
|||
define('PSM_PUBLIC_PAGE', false);
|
||||
}
|
||||
|
||||
// check for a uptime archive
|
||||
// This should be defined in the config
|
||||
if (!defined('PSM_UPTIME_ARCHIVE')) {
|
||||
define('PSM_UPTIME_ARCHIVE', 'monthly);
|
||||
}
|
||||
|
||||
$lang = psm_get_conf('language', 'en_US');
|
||||
psm_load_lang($lang);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue