Created
January 5, 2013 15:41
-
-
Save kenrick/4462138 to your computer and use it in GitHub Desktop.
Forces the showing of errors in php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ini_set('display_errors', 1); | |
ini_set('log_errors', 1); | |
ini_set('error_log', dirname(__FILE__) . '/error_log.txt'); | |
error_reporting(E_ALL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment