Compare commits
1
Commits
a538cc0cc5
...
v1.0.10
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf100a86e2 |
+2
-2
@@ -5,7 +5,7 @@
|
||||
Module : /Web/Menu.php
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : January 16th, 2008.
|
||||
Last Modified : October 21st, 2026.
|
||||
Last Modified : October 30th, 2026.
|
||||
|
||||
(c) 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
@@ -141,7 +141,7 @@ final class Menu {
|
||||
$href1 = '//127.0.0.1/';
|
||||
$href2 = "";
|
||||
} else {
|
||||
$_host = $this->app->request()->getVar('HTTP_ORIGIN') ?? $this->app->request()->getVar('HTTP_HOST') ?? $this->web_app['PARENT_SITE'];
|
||||
$_host = $_SERVER['HTTP_ORIGIN'] ?? $_SERVER['HTTP_HOST'] ?? $this->web_app['PARENT_SITE'];
|
||||
$_host = str_replace(['http://','https://'], "", $_host);
|
||||
if ($this->web_app['PARENT_SUB'] === true) {
|
||||
$_subs = explode('.', $_host);
|
||||
|
||||
Reference in New Issue
Block a user