From: niekt0 Date: Mon, 3 Jan 2011 23:40:09 +0000 (+0100) Subject: require fixup X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=1dbcd10085c04288d9199af55b076c4ef571d9c9;p=mirrors%2FKyberia-bloodline.git require fixup --- diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index c6e8f57..c65bbcc 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -80,7 +80,7 @@ if( if(isset($_GET['node_kid'])) $_GET['node_id'] = base_convert($_GET['node_kid'], 36, 10); if(isset($_GET['template_kid'])) $_GET['template_id'] = base_convert($_GET['template_kid'], 36, 10); -require(INCLUDE_DIR.'senate.inc'); +require_once(INCLUDE_DIR.'senate.inc'); if (isset($_SERVER['HTTP_REFERER'])) { preg_match('/(k|id)\/([0-9]*)\//',$_SERVER['HTTP_REFERER'],$ref_match);