Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -1,7 +1,10 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
|
||||
use IPS\Application;
|
||||
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
@@ -21,9 +24,9 @@ class convert_hook_FrontDispatcher extends _HOOK_CLASS_
|
||||
parent::checkUrl();
|
||||
}
|
||||
/* If we are here, the URL was not valid. Let's see if we need to do anything for converted sites */
|
||||
catch( \OutOfRangeException $e )
|
||||
catch(OutOfRangeException $e )
|
||||
{
|
||||
$application = \IPS\Application::load('convert');
|
||||
$application = Application::load('convert');
|
||||
$application::checkRedirects();
|
||||
|
||||
/* If we are still here, let the exception bubble up */
|
||||
|
||||
Reference in new issue
Block a user