Skip to content
Snippets Groups Projects
Commit d983e9c2 authored by hahn's avatar hahn
Browse files

deployment bug#1511 json file was moved 1 level up

parent 8887703f
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,8 @@ function getTopArea() { ...@@ -189,7 +189,8 @@ function getTopArea() {
$sMyPhase = "[phase]"; $sMyPhase = "[phase]";
$sMyRev = " [no rev] "; $sMyRev = " [no rev] ";
$sJsonfile = $_SERVER["DOCUMENT_ROOT"] . "ci-webgui.json"; // bug#1511 json file was moved 1 level up
$sJsonfile = __DIR__ . "/../../ci-webgui.json";
if (file_exists($sJsonfile)) { if (file_exists($sJsonfile)) {
$aJson = json_decode(file_get_contents($sJsonfile), true); $aJson = json_decode(file_get_contents($sJsonfile), true);
if (array_key_exists("date", $aJson)) if (array_key_exists("date", $aJson))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment