Created
July 19, 2016 14:52
-
-
Save all3kcis/39392ca2a38037487460dd36fd73bed1 to your computer and use it in GitHub Desktop.
Show errors only in log file
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
<?php | |
error_reporting(-1); // -1 or E_ALL & ~(E_NOTICE) | |
ini_set('display_errors', 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment