Created
June 28, 2018 11:04
-
-
Save theissn/ce720549caa658ba0eff9715f5f76046 to your computer and use it in GitHub Desktop.
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(E_ALL); // Error engine - always ON! | |
ini_set('display_errors', FALSE); // Error display - OFF in production env or real server | |
ini_set('log_errors', TRUE); // Error logging | |
ini_set('error_log', 'your/path/to/errors.log'); // Logging file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment