From c76e8756bab5652b9c2e4d112c9b44f83b41f533 Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Mon, 5 Nov 2018 12:44:43 +0300 Subject: [PATCH] Update ipb.php --- compat/auth/ipb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/auth/ipb.php b/compat/auth/ipb.php index ad2d25d9..99ea456b 100644 --- a/compat/auth/ipb.php +++ b/compat/auth/ipb.php @@ -11,7 +11,7 @@ if(empty($login) || empty($password)) { // Load IPB core define('IPB_THIS_SCRIPT', 'public'); require('initdata.php'); // not once!!! -require(IPS_ROOT_PATH . 'sources/base/ipsRegistry.php'); +require_once(IPS_ROOT_PATH . 'sources/base/ipsRegistry.php'); $reg = ipsRegistry::instance(); $reg->init();