index.php aktualisiert
This commit is contained in:
@@ -7,15 +7,12 @@ if (isset($_SESSION['Firma']['ID']))
|
|||||||
define('GUELTIG', $_SESSION['Firma']['A_Bis']);
|
define('GUELTIG', $_SESSION['Firma']['A_Bis']);
|
||||||
define('ZAHLBAR', $_SESSION['Firma']['Z_Bis']);
|
define('ZAHLBAR', $_SESSION['Firma']['Z_Bis']);
|
||||||
}
|
}
|
||||||
if (!defined('PREFIX')) {
|
include "inc/config.php"; // die Konfigurationsdateien lesen
|
||||||
define('PREFIX', '');
|
require_once(__DIR__ . '/vendor/autoload.php');
|
||||||
}
|
|
||||||
if ('Test' == PREFIX)
|
if ('Test' == PREFIX)
|
||||||
{
|
{
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
include "inc/config.php"; // die Konfigurationsdateien lesen
|
|
||||||
require_once(__DIR__ . '/vendor/autoload.php');
|
|
||||||
|
|
||||||
// Verbindung zu MySQL Aufbauen
|
// Verbindung zu MySQL Aufbauen
|
||||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||||
|
|||||||
Reference in New Issue
Block a user