From 8ab966c2cc9c22aa38bfd8f88d29d64b2e2a0b47 Mon Sep 17 00:00:00 2001 From: niekt0 Date: Sun, 30 Oct 2011 22:41:25 +0100 Subject: [PATCH] registrations are working again (premissions fix) --- cron/register.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'); -- 2.30.2