Bläddra i källkod

[Debug] Show errors

Foppe Hemminga 5 år sedan
förälder
incheckning
ad694a692f
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      snippets.php

+ 4 - 0
snippets.php

@@ -1,5 +1,9 @@
 <?php
 
+ini_set('display_errors', 1);
+ini_set('display_startup_errors', 1);
+error_reporting(E_ALL);
+
 // This file contains HTML snippets for the several possible forms
 
 $pdo = null;