diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-14 15:59:54 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-14 15:59:54 +0000 |
commit | 805b61328629813aad77c2e0f935e31cb381e500 (patch) | |
tree | 6f7fbd10bec359516b9dddb437e6472baa1ba431 /h-source/Application/Hooks/BeforeChecks.php | |
parent | f49ae662a10351e84e97aebd15394df5a591898f (diff) |
added the first view files of the mobile version
Diffstat (limited to 'h-source/Application/Hooks/BeforeChecks.php')
-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 |