17,12 → 17,17 |
* limitations under the License. |
*/ |
|
use ViaThinkSoft\OIDplus\OIDplus; |
use ViaThinkSoft\OIDplus\OIDplusGui; |
use ViaThinkSoft\OIDplus\OIDplusException; |
use ViaThinkSoft\OIDplus\OIDplusOIDIP; |
|
require_once __DIR__ . '/../../../../../includes/oidplus.inc.php'; |
|
OIDplus::init(true); |
set_exception_handler(array('OIDplusGui', 'html_exception_handler')); |
set_exception_handler(array(OIDplusGui::class, 'html_exception_handler')); |
|
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_OIDplusPagePublicWhois', false)) { |
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusPagePublicWhois', false)) { |
throw new OIDplusException(_L('This plugin was disabled by the system administrator!')); |
} |
|