X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=c65bbcc8d67b29276eb96815432626774dcf8546;hb=1dbcd10085c04288d9199af55b076c4ef571d9c9;hp=c6e8f57fc6f5211800f86c39d6e7414a985ca625;hpb=2b81c64669616121bea6ef85f965a59d383310fa;p=mirrors%2FKyberia-bloodline.git 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);