diff options
Diffstat (limited to 'h-source/Application/Hooks/BeforeChecks.php')
-rwxr-xr-x[-rw-r--r--] | h-source/Application/Hooks/BeforeChecks.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/h-source/Application/Hooks/BeforeChecks.php b/h-source/Application/Hooks/BeforeChecks.php index 0cbf220..6f200e6 100644..100755 --- a/h-source/Application/Hooks/BeforeChecks.php +++ b/h-source/Application/Hooks/BeforeChecks.php @@ -13,11 +13,8 @@ if (!defined('EG')) die('Direct access not allowed!'); Params::$htmlentititiesCharset = "UTF-8"; +Params::$useHttps = true; + Params::$allowedSanitizeFunc .= ",sanitizeString,sanitizeAlphanum"; Params::$language = "En"; - -if (Version::get() === 'mobile') -{ - Route::$allowed = Version::$mobileAllowed; -}
\ No newline at end of file |