Compare commits

...

10 Commits

3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="dataSourceStorageLocal" created-in="IU-253.32098.101"> <component name="dataSourceStorageLocal" created-in="IU-261.25134.95">
<data-source name="articles" uuid="315cb5c9-2b0f-435b-b602-59823b160908"> <data-source name="articles" uuid="315cb5c9-2b0f-435b-b602-59823b160908">
<database-info product="SQLite" version="3.51.1" jdbc-version="4.2" driver-name="SQLite JDBC" driver-version="3.51.1.0" dbms="SQLITE" exact-version="3.51.1" exact-driver-version="3.51"> <database-info product="SQLite" version="3.51.1" jdbc-version="4.2" driver-name="SQLite JDBC" driver-version="3.51.1.0" dbms="SQLITE" exact-version="3.51.1" exact-driver-version="3.51">
<identifier-quote-string>&quot;</identifier-quote-string> <identifier-quote-string>&quot;</identifier-quote-string>
+3 -3
View File
@@ -16,7 +16,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
<!-- Mobile navbar mit Burger-Symbol --> <!-- Mobile navbar mit Burger-Symbol -->
<input type="checkbox" id="nav-toggle" class="nav__checkbox"> <input type="checkbox" id="nav-toggle" class="nav__checkbox">
<label for="nav-toggle" id="mobile-nav"> <label for="nav-toggle" class="mobile-nav">
<span>☰</span> <span>☰</span>
</label> </label>
@@ -151,7 +151,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
</a> </a>
<div class="nav__search"> <div class="nav__search">
<?php include_once 'search.php'; ?> <?php include_once __DIR__ . '/search.php'; ?>
</div> </div>
<a href="index.php?pfad=createArticle" class="nav__item nav__button"> <a href="index.php?pfad=createArticle" class="nav__item nav__button">
@@ -165,7 +165,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
<?php else: ?> <?php else: ?>
<div class="nav__search"> <div class="nav__search">
<?php include_once 'search.php'; ?> <?php include_once __DIR__ . '/search.php'; ?>
</div> </div>
<a href="index.php?pfad=login" class="nav__item nav__button"> <a href="index.php?pfad=login" class="nav__item nav__button">
+2
View File
@@ -2,9 +2,11 @@
if (session_status() === PHP_SESSION_NONE) { if (session_status() === PHP_SESSION_NONE) {
session_start(); session_start();
} }
include_once "includes/csrf.php"; include_once "includes/csrf.php";
include_once "php/controller/index-controller.php"; include_once "php/controller/index-controller.php";
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>