Better "include_once" portal/includes/functions.php, to avoid problems with updatechecks from blocks having their version number stored in the portal table.

This commit is contained in:
Kevin
2008-11-12 17:16:28 +00:00
parent 42f0bdf28d
commit 67ac3d786a

View File

@@ -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(