diff options
Diffstat (limited to 'h-source/Application/Hooks')
-rw-r--r-- | h-source/Application/Hooks/BeforeChecks.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/h-source/Application/Hooks/BeforeChecks.php b/h-source/Application/Hooks/BeforeChecks.php index 03ee247..01ca8c5 100644 --- a/h-source/Application/Hooks/BeforeChecks.php +++ b/h-source/Application/Hooks/BeforeChecks.php @@ -13,4 +13,10 @@ if (!defined('EG')) die('Direct access not allowed!'); Params::$htmlentititiesCharset = "UTF-8"; -Params::$allowedSanitizeFunc .= ",sanitizeString,sanitizeAlphanum";
\ No newline at end of file +Params::$allowedSanitizeFunc .= ",sanitizeString,sanitizeAlphanum"; + + +if (Version::get() === 'mobile') +{ + Route::$allowed = Version::$mobileAllowed; +}
\ No newline at end of file |