Merge branch 'qvarforth-main' into fixes

This commit is contained in:
Peter Buchegger 2022-02-11 21:30:23 +01:00
commit f1cdc9bc2c
13 changed files with 13 additions and 13 deletions

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?php require "${_SERVER["DOCUMENT_ROOT"]}/../includes/bootstrap.php"; ?>
<?php require "../includes/bootstrap.php"; ?>
<?php
$isSecure = false;
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {

View File

@ -1,4 +1,4 @@
<?php require "${_SERVER["DOCUMENT_ROOT"]}/../includes/bootstrap.php"; ?>
<?php require "../../includes/bootstrap.php"; ?>
<title>About / FAQ</title>
<div class="modal-inner-content modal-inner-content-about" style="padding-bottom: 30px;">

View File

@ -1,4 +1,4 @@
<?php require "${_SERVER["DOCUMENT_ROOT"]}/../includes/bootstrap.php"; ?>
<?php require "../../includes/bootstrap.php"; ?>
<?php
$stations = [];

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?php require "${_SERVER["DOCUMENT_ROOT"]}/../includes/bootstrap.php"; ?>
<?php require "../../includes/bootstrap.php"; ?>
<?php
$stations = [];

View File

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

View File

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

View File

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

View File

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