Subversion Repositories oidplus

Rev

Rev 1005 | Rev 1200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1005 Rev 1050
Line 17... Line 17...
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
 * See the License for the specific language governing permissions and
18
 * See the License for the specific language governing permissions and
19
 * limitations under the License.
19
 * limitations under the License.
20
 */
20
 */
21
 
21
 
-
 
22
use ViaThinkSoft\OIDplus\OIDplus;
-
 
23
use ViaThinkSoft\OIDplus\OIDplusGui;
22
require_once __DIR__ . '/../../../../../includes/oidplus.inc.php';
24
use ViaThinkSoft\OIDplus\OIDplusException;
23
 
-
 
-
 
25
use Frdlweb\OIDplus\OIDplusRDAP;
24
 
26
 
-
 
27
require_once __DIR__ . '/../../../../../includes/oidplus.inc.php';
25
 
28
 
26
OIDplus::init(true);
29
OIDplus::init(true);
27
set_exception_handler(array('OIDplusGui', 'html_exception_handler'));
30
set_exception_handler(array(OIDplusGui::class, 'html_exception_handler'));
28
 
31
 
29
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_OIDplusPagePublicRdap', false)) {
32
if (OIDplus::baseConfig()->getValue('DISABLE_PLUGIN_Frdlweb\OIDplus\OIDplusPagePublicRdap', false)) {
30
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
33
        throw new OIDplusException(_L('This plugin was disabled by the system administrator!'));
31
}
34
}
32
 
35
 
33
originHeaders();
36
originHeaders();
34
 
37