Move accessible files to public folders and adjust paths.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
// Die Leeren Arrays erzeugen
|
||||
$dateien = array();
|
||||
$titel = array();
|
||||
$dateien = [];
|
||||
$titel = [];
|
||||
$admin = [];
|
||||
$links = [];
|
||||
|
||||
// Das Array für die Inhaltsseite mit den entsprechenden Dateien füllen
|
||||
$dateien['will'] = "will.php";
|
||||
@@ -17,3 +18,19 @@ $titel['home'] = "Willkommen beim Ferienhaus Wille";
|
||||
$titel['leist'] = "Beratung, Satz, Druck und mehr";
|
||||
$titel['anreise'] = "Kontakt zur Druckerei Martin";
|
||||
|
||||
$links['fotos'] = "links/fotos.php";
|
||||
$links['kal'] = "links/kal.php";
|
||||
$links['preise'] = "links/preise.php";
|
||||
|
||||
$admin['fotos'] = "fotos.php";
|
||||
$admin['angebote'] = "angebote.php";
|
||||
$admin['gb'] = "gb.php";
|
||||
$admin['kal'] = "kal.php";
|
||||
$admin['preise'] = "preise.php";
|
||||
$admin['will'] = "will.php";
|
||||
|
||||
|
||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||
if (mysqli_connect_errno()) {
|
||||
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: ' . mysqli_connect_error());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user