Skip to content
Snippets Groups Projects
Commit 37e3d6d3 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'task1511-show-build-date' into 'master'

Task1511 show build date

See merge request !45
parents 3456dec6 d983e9c2
No related branches found
No related tags found
No related merge requests found
...@@ -201,7 +201,8 @@ function getTopArea() { ...@@ -201,7 +201,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