fixed include path

This commit is contained in:
Per Qvarforth 2022-02-13 12:05:02 +00:00
parent 599e95ed24
commit 6ad77a8f4a
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php
require "../../includes/bootstrap.php";
require dirname(__DIR__) . "../../includes/bootstrap.php";
$response = [];
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);

View File

@ -1,6 +1,6 @@
<?php
require "../../includes/bootstrap.php";
require dirname(__DIR__) . "../../includes/bootstrap.php";
if (isset($_GET['id']) && isInt($_GET['id'])) {
$station = StationRepository::getInstance()->getObjectById($_GET['id']);

View File

@ -1,6 +1,6 @@
<?php
require "../../includes/bootstrap.php";
require dirname(__DIR__) . "../../includes/bootstrap.php";
$response = [];
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);