From 67ac3d786ab35966153f40254f91f32bd65677a4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 12 Nov 2008 17:16:28 +0000 Subject: [PATCH] Better "include_once" portal/includes/functions.php, to avoid problems with updatechecks from blocks having their version number stored in the portal table. --- root/adm/mods/board3_portal_check_version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/adm/mods/board3_portal_check_version.php b/root/adm/mods/board3_portal_check_version.php index 4076aef3..ec46ea51 100644 --- a/root/adm/mods/board3_portal_check_version.php +++ b/root/adm/mods/board3_portal_check_version.php @@ -22,7 +22,7 @@ class board3_portal_check_version function version() { global $portal_config, $phpbb_root_path, $phpEx; - include($phpbb_root_path . 'portal/includes/functions.' . $phpEx); + include_once($phpbb_root_path . 'portal/includes/functions.' . $phpEx); $portal_config = obtain_portal_config(); return array(