security: disable debug error output in production
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
date_default_timezone_set("Europe/Berlin");
|
date_default_timezone_set("Europe/Berlin");
|
||||||
require_once "config/config.php";
|
require_once "config/config.php";
|
||||||
include("Data.class.php");
|
include("Data.class.php");
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
|
|
||||||
require_once "config/config.php";
|
require_once "config/config.php";
|
||||||
require_once "Data.class.php";
|
require_once "Data.class.php";
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
date_default_timezone_set("Europe/Berlin");
|
date_default_timezone_set("Europe/Berlin");
|
||||||
// Header / Navbar / Zugriffsschutz falls nötig
|
// Header / Navbar / Zugriffsschutz falls nötig
|
||||||
require_once "config/config.php";
|
require_once "config/config.php";
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
|
|
||||||
require_once "config/config.php";
|
require_once "config/config.php";
|
||||||
include("Data.class.php");
|
include("Data.class.php");
|
||||||
$Data = new Data($pdo);
|
$Data = new Data($pdo);
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
date_default_timezone_set("Europe/Berlin");
|
date_default_timezone_set("Europe/Berlin");
|
||||||
require_once "config/config.php";
|
require_once "config/config.php";
|
||||||
include("Data.class.php");
|
include("Data.class.php");
|
||||||
|
|||||||
Reference in New Issue
Block a user