diff --git a/acserver.cron b/acserver.cron new file mode 100644 index 0000000..801d4de --- /dev/null +++ b/acserver.cron @@ -0,0 +1 @@ +* * * * * /usr/bin/php /var/www/acserver/index.php batch_update_from_carddb 2>&1 >> /var/log/acserver_update.log diff --git a/system/core/Common.php b/system/core/Common.php index 07534c5..ba94baa 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -253,8 +253,8 @@ function &get_config($replace = array()) } } } - - return $_config[0] =& $config; + $_config[0] =& $config; + return $_config[0]; } }