Rev 1081 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1081 | Rev 1200 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | use ViaThinkSoft\OIDplus\OIDplusException; |
22 | use ViaThinkSoft\OIDplus\OIDplusException; |
23 | use ViaThinkSoft\OIDplus\OIDplusOIDIP; |
23 | use ViaThinkSoft\OIDplus\OIDplusOIDIP; |
24 | 24 | ||
25 | require_once __DIR__ . '/../../../../../includes/oidplus.inc.php'; |
25 | require_once __DIR__ . '/../../../../../includes/oidplus.inc.php'; |
26 | 26 | ||
27 | OIDplus::init(true); |
- | |
28 | set_exception_handler(array(OIDplusGui::class, 'html_exception_handler')); |
27 | set_exception_handler(array(OIDplusGui::class, 'html_exception_handler')); |
29 | 28 | ||
- | 29 | OIDplus::init(true); |
|
- | 30 | ||
30 | if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusPagePublicWhois', false)) { |
31 | if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusPagePublicWhois', false)) { |
31 | throw new OIDplusException(_L('This plugin was disabled by the system administrator!')); |
32 | throw new OIDplusException(_L('This plugin was disabled by the system administrator!')); |
32 | } |
33 | } |
33 | 34 | ||
34 | originHeaders(); |
35 | originHeaders(); |