mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-24 09:06:15 +01:00
051a7da66a
Signed-off-by: main <magic_rb@redalder.org>
15 lines
720 B
Diff
15 lines
720 B
Diff
diff --git a/Core/Frameworks/Flake/Framework.php b/Core/Frameworks/Flake/Framework.php
|
|
index 73f6b9d..139ee75 100644
|
|
--- a/Core/Frameworks/Flake/Framework.php
|
|
+++ b/Core/Frameworks/Flake/Framework.php
|
|
@@ -239,7 +239,8 @@ class Framework extends \Flake\Core\Framework {
|
|
$sHttpBaseUrl = self::rmQuery($sHttpBaseUrl);
|
|
$sHttpBaseUrl = self::rmScriptName($sHttpBaseUrl, $sScript);
|
|
$sHttpBaseUrl = self::rmProjectContext($sHttpBaseUrl);
|
|
- define("PROJECT_URI", $sProtocol . "://" . $_SERVER["HTTP_HOST"] . $sHttpBaseUrl);
|
|
+ define("PROJECT_URI", $_SERVER['HTTP_X_BAIKAL_URI']);
|
|
+ echo $PROJECT_URI
|
|
unset($sScript);
|
|
unset($sDirName);
|
|
unset($sBaseUrl);
|