Parcourir la source

[Debug] Show errors

Foppe Hemminga il y a 5 ans
Parent
commit
ad694a692f
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      snippets.php

+ 4 - 0
snippets.php

@@ -1,5 +1,9 @@
 <?php
 <?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
 // This file contains HTML snippets for the several possible forms
 
 
 $pdo = null;
 $pdo = null;