소스 검색

[Debug] Show errors

Foppe Hemminga 5 년 전
부모
커밋
ad694a692f
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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;