13 lines
348 B
PHP
13 lines
348 B
PHP
<?php
|
|
// Zentraler Bootstrap: muss vor jeglicher HTML-Ausgabe inkludiert werden.
|
|
// - startet die Session genau einmal
|
|
// - setzt sinnvolle PHP-Error-Settings für die Entwicklung
|
|
|
|
ini_set('display_errors', '1');
|
|
ini_set('display_startup_errors', '1');
|
|
error_reporting(E_ALL);
|
|
|
|
if (session_status() !== PHP_SESSION_ACTIVE) {
|
|
session_start();
|
|
}
|