mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 16:04:25 +01:00
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);
|