From: niekt0 Date: Sun, 30 Oct 2011 21:41:25 +0000 (+0100) Subject: registrations are working again (premissions fix) X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=8ab966c2cc9c22aa38bfd8f88d29d64b2e2a0b47;p=mirrors%2FKyberia-bloodline.git registrations are working again (premissions fix) --- diff --git a/cron/register.php b/cron/register.php index f1d07ff..7031624 100755 --- a/cron/register.php +++ b/cron/register.php @@ -6,6 +6,8 @@ * Called once a day at 0:42 * * TODO: ? call only function from eventz ? + * remove sql code + * update texts & send mail */ @@ -17,7 +19,7 @@ require($dir.'/../wwwroot/config/config.inc'); require(INCLUDE_DIR.'/log.inc'); require(INCLUDE_DIR.'/database.inc'); require(INCLUDE_DIR.'/nodes.inc'); -require(INCLUDE_DIR.'/permissions.inc'); +include_once(BACKEND_DIR.'/'.DB_TYPE.'/permissions.inc'); require(INCLUDE_DIR.'/ubik.inc'); //require(INCLUDE_DIR.'/senate.inc');