enable logger in updater scripts

This commit is contained in:
Andrew Dolgov 2013-04-17 09:09:59 +04:00
parent 89473cb5c6
commit 2a649c447c
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@
require_once "sanity_check.php"; require_once "sanity_check.php";
require_once "db.php"; require_once "db.php";
require_once "db-prefs.php"; require_once "db-prefs.php";
require_once "errorhandler.php";
if (!defined('PHP_EXECUTABLE')) if (!defined('PHP_EXECUTABLE'))
define('PHP_EXECUTABLE', '/usr/bin/php'); define('PHP_EXECUTABLE', '/usr/bin/php');

View File

@ -20,6 +20,7 @@
require_once "config.php"; require_once "config.php";
require_once "db.php"; require_once "db.php";
require_once "db-prefs.php"; require_once "db-prefs.php";
require_once "errorhandler.php";
// defaults // defaults
define('PURGE_INTERVAL', 3600); // seconds define('PURGE_INTERVAL', 3600); // seconds