fixed include path
This commit is contained in:
parent
599e95ed24
commit
6ad77a8f4a
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require "../../includes/bootstrap.php";
|
require dirname(__DIR__) . "../../includes/bootstrap.php";
|
||||||
|
|
||||||
$response = [];
|
$response = [];
|
||||||
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);
|
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require "../../includes/bootstrap.php";
|
require dirname(__DIR__) . "../../includes/bootstrap.php";
|
||||||
|
|
||||||
if (isset($_GET['id']) && isInt($_GET['id'])) {
|
if (isset($_GET['id']) && isInt($_GET['id'])) {
|
||||||
$station = StationRepository::getInstance()->getObjectById($_GET['id']);
|
$station = StationRepository::getInstance()->getObjectById($_GET['id']);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require "../../includes/bootstrap.php";
|
require dirname(__DIR__) . "../../includes/bootstrap.php";
|
||||||
|
|
||||||
$response = [];
|
$response = [];
|
||||||
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);
|
$station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue