Kommentar für Autoloader
Habe die Kommentare zu dem Autoloader in index.php, wahl.php und check.php hinzugefügt
This commit is contained in:
parent
6b141395bf
commit
7124994bcf
3 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
||||||
|
|
||||||
error_reporting(E_ALL); //Debuging
|
error_reporting(E_ALL); //Debuging
|
||||||
require_once 'include/DBConnection.inc.php';
|
require_once 'include/DBConnection.inc.php';
|
||||||
|
/**
|
||||||
|
* Diese Funktion macht das nutzen der benötigten Klassen möglich
|
||||||
|
*/
|
||||||
function autoloader($classname)
|
function autoloader($classname)
|
||||||
{
|
{
|
||||||
include 'class/' . $classname . '.php';
|
include 'class/' . $classname . '.php';
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
|
|
||||||
error_reporting(E_ALL); //Debuging
|
error_reporting(E_ALL); //Debuging
|
||||||
require_once 'include/DBConnection.inc.php';
|
require_once 'include/DBConnection.inc.php';
|
||||||
|
/**
|
||||||
|
* Diese Funktion macht das nutzen der benötigten Klassen möglich
|
||||||
|
*/
|
||||||
function autoloader($classname)
|
function autoloader($classname)
|
||||||
{
|
{
|
||||||
include 'class/' . $classname . '.php';
|
include 'class/' . $classname . '.php';
|
||||||
|
|
3
wahl.php
3
wahl.php
|
@ -18,6 +18,9 @@
|
||||||
|
|
||||||
error_reporting(E_ALL); //Debuging
|
error_reporting(E_ALL); //Debuging
|
||||||
require_once 'include/DBConnection.inc.php';
|
require_once 'include/DBConnection.inc.php';
|
||||||
|
/**
|
||||||
|
* Diese Funktion macht das nutzen der benötigten Klassen möglich
|
||||||
|
*/
|
||||||
function autoloader($classname)
|
function autoloader($classname)
|
||||||
{
|
{
|
||||||
include 'class/' . $classname . '.php';
|
include 'class/' . $classname . '.php';
|
||||||
|
|
Loading…
Reference in a new issue