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

fix path to json

parent cd12a5af
No related branches found
No related tags found
1 merge request!195534 add docker
......@@ -206,7 +206,7 @@ function getTopArea() {
$sMyPhase = "[phase]";
$sMyRev = " [no rev] ";
// bug#1511 json file was moved 1 level up
$sJsonfile = __DIR__ . "/../../ciserver.json";
$sJsonfile = dirname(dirname(__DIR__)) . "/ciserver.json";
if (file_exists($sJsonfile)) {
$aJson = json_decode(file_get_contents($sJsonfile), true);
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