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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user