diff --git a/htmlUI/templates/statusbar.tpl b/htmlUI/templates/statusbar.tpl index bf736e505..d314f9afb 100644 --- a/htmlUI/templates/statusbar.tpl +++ b/htmlUI/templates/statusbar.tpl @@ -9,7 +9,7 @@ - {assign var="_now value=$SCHEDULER->getSchedulerTime(true)} + {assign var="_now" value=$SCHEDULER->getSchedulerTime()} {if !$_now} {assign var="_now" value=$smarty.now} {/if} diff --git a/utils/campcaster-import.php b/utils/campcaster-import.php index a5f3e2746..50e1735f7 100644 --- a/utils/campcaster-import.php +++ b/utils/campcaster-import.php @@ -12,10 +12,10 @@ set_time_limit(0); error_reporting(E_ALL); set_error_handler("camp_import_error_handler", E_ALL & !E_NOTICE); -require_once('DB.php'); -require_once('Console/Getopt.php'); require_once(dirname(__FILE__)."/../conf.php"); require_once(dirname(__FILE__)."/../backend/GreenBox.php"); +require_once('DB.php'); +require_once('Console/Getopt.php'); function camp_import_error_handler() {