Browse Source

[Debug] Show errors

Foppe Hemminga 5 năm trước cách đây
mục cha
commit
ad694a692f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;