fixed include path

This commit is contained in:
Per Qvarforth 2022-02-13 12:03:37 +00:00
parent 1aae055045
commit 3c4d9c1fbd
9 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<?php require "../../includes/bootstrap.php"; ?> <?php require dirname(__DIR__) . "../../includes/bootstrap.php"; ?>
<title>About / FAQ</title> <title>About / FAQ</title>
<div class="modal-inner-content modal-inner-content-about" style="padding-bottom: 30px;"> <div class="modal-inner-content modal-inner-content-about" style="padding-bottom: 30px;">

View File

@ -1,4 +1,4 @@
<?php require "../../includes/bootstrap.php"; ?> <?php require dirname(__DIR__) . "../../includes/bootstrap.php"; ?>
<?php <?php
$stations = []; $stations = [];

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?php require "../../includes/bootstrap.php"; ?> <?php require dirname(__DIR__) . "../../includes/bootstrap.php"; ?>
<?php <?php
$stations = []; $stations = [];

View File

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

View File

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

View File

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

View File

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