Selaa lähdekoodia

[Debug] Show errors

Foppe Hemminga 5 vuotta sitten
vanhempi
commit
ad694a692f
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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;