diff options
Diffstat (limited to 'h-source/Application/Hooks')
-rwxr-xr-x[-rw-r--r--] | h-source/Application/Hooks/AfterInitialization.php | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | h-source/Application/Hooks/BeforeChecks.php | 7 | ||||
-rwxr-xr-x[-rw-r--r--] | h-source/Application/Hooks/BeforeInitialization.php | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | h-source/Application/Hooks/index.html | 0 |
4 files changed, 2 insertions, 5 deletions
diff --git a/h-source/Application/Hooks/AfterInitialization.php b/h-source/Application/Hooks/AfterInitialization.php index a369309..a369309 100644..100755 --- a/h-source/Application/Hooks/AfterInitialization.php +++ b/h-source/Application/Hooks/AfterInitialization.php 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 diff --git a/h-source/Application/Hooks/BeforeInitialization.php b/h-source/Application/Hooks/BeforeInitialization.php index 6d1851b..6d1851b 100644..100755 --- a/h-source/Application/Hooks/BeforeInitialization.php +++ b/h-source/Application/Hooks/BeforeInitialization.php diff --git a/h-source/Application/Hooks/index.html b/h-source/Application/Hooks/index.html index 8d1c8b6..8d1c8b6 100644..100755 --- a/h-source/Application/Hooks/index.html +++ b/h-source/Application/Hooks/index.html |