error_reporting

This commit is contained in:
Serghey Rodin 2015-11-06 22:54:06 +02:00
commit 6ea0061476
21 changed files with 22 additions and 25 deletions

View file

@ -1,5 +1,5 @@
<?php
error_reporting(NULL);
session_start();
if ($_SESSION['user'] != 'admin') exit;
$real_path = realpath($_SERVER["DOCUMENT_ROOT"].$_SERVER['QUERY_STRING']);