diff --git a/util/sign.php b/util/sign.php index c921a2a..10a2e0a 100644 --- a/util/sign.php +++ b/util/sign.php @@ -46,7 +46,6 @@ } require_once($webuidir . "/config.php"); -require_once(DIR_SYSTEM . "/helper/TrustedTimestamps.php"); if(ENABLE_SYSLOG == 1) { openlog("piler-timestamp", LOG_PID, LOG_MAIL); } diff --git a/webui/system/startup.php b/webui/system/startup.php index 1369b47..1bda866 100644 --- a/webui/system/startup.php +++ b/webui/system/startup.php @@ -20,6 +20,11 @@ require_once DIR_BASE . 'google-api/contrib/apiOauth2Service.php'; } +if(TSA_URL) { + require_once(DIR_SYSTEM . "/helper/TrustedTimestamps.php"); +} + + date_default_timezone_set(TIMEZONE); ?>