add autoload

This commit is contained in:
Christopher 2020-10-22 01:00:19 +02:00
parent 75ecdfb764
commit 537ffbea78
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ session_start();
include_once("classen/HTML.php");
include_once("classen/GoogleAuthenticator.php");
if(file_exists("./vendor/autoload.php"))
include_once("./vendor/autoload.php");
if(isset($_REQUEST['logout']))
if($_REQUEST['logout'] == '1')
$_SESSION = array();