aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Hooks/BeforeChecks.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Hooks/BeforeChecks.php')
-rw-r--r--h-source/Application/Hooks/BeforeChecks.php8
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