diff options
author | Yuchen Pei <hi@ypei.me> | 2021-10-12 08:27:09 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-10-12 08:27:09 +1100 |
commit | 72cce24864b064b5762f4fe97fdf40d8d2ad4b51 (patch) | |
tree | 408f687c56f060aaac18622d2b091f6e080f76d4 /h-source/Application | |
parent | a349d5115056f17496bba1f88f8043e87de6d9bd (diff) | |
parent | a433241c0aff14110d1355f904d3dace8b6bae6b (diff) |
Merge branch 'development' into h-node
Diffstat (limited to 'h-source/Application')
-rw-r--r-- | h-source/Application/Controllers/WikiController.php | 2 | ||||
-rwxr-xr-x | h-source/Application/Hooks/BeforeChecks.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/WikiController.php b/h-source/Application/Controllers/WikiController.php index 5dc05b8..f3da19f 100644 --- a/h-source/Application/Controllers/WikiController.php +++ b/h-source/Application/Controllers/WikiController.php @@ -496,7 +496,7 @@ class WikiController extends BaseController // if ($this->m['WikitalkModel']->queryResult) // { -// header('Refresh: 0;url=http://'.DOMAIN_NAME.$_SERVER['REQUEST_URI']); +// header('Refresh: 0;url='.$_SERVER['REQUEST_URI']); // die(); // } } diff --git a/h-source/Application/Hooks/BeforeChecks.php b/h-source/Application/Hooks/BeforeChecks.php index 6f200e6..47e7936 100755 --- a/h-source/Application/Hooks/BeforeChecks.php +++ b/h-source/Application/Hooks/BeforeChecks.php @@ -13,7 +13,7 @@ if (!defined('EG')) die('Direct access not allowed!'); Params::$htmlentititiesCharset = "UTF-8"; -Params::$useHttps = true; +Params::$useHttps = false; Params::$allowedSanitizeFunc .= ",sanitizeString,sanitizeAlphanum"; |