Skip to content
Snippets Groups Projects
Commit a92bb61d authored by Eric Laufer's avatar Eric Laufer
Browse files

BUg

parent 63689b41
No related merge requests found
<?php
if(file_exists($_SERVER['DOCUMENT_ROOT'].'/error')){
error_reporting(E_ALL);
ini_set('display_errors', 'On');
ini_set('error_log', $_SERVER['DOCUMENT_ROOT'].'/error/error-'. date("d.m.Y",time()).'.log');
ini_set('log_errors', 'On');
if(!file_exists($_SERVER['DOCUMENT_ROOT'].'/error/error-'. date("d.m.Y",time()).'.log')){
$datei = fopen($_SERVER['DOCUMENT_ROOT'].'/error/error-'. date("d.m.Y",time()).'.log',"w");
fwrite($datei, " ",100);
fclose($datei);
}
}
if (isset($_GET['logout']) && $_GET['logout'] == true) {
session_start();
unset($_SESSION['admin']);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment