Skip to content

Instantly share code, notes, and snippets.

@all3kcis
Created July 19, 2016 14:52
Show Gist options
  • Save all3kcis/39392ca2a38037487460dd36fd73bed1 to your computer and use it in GitHub Desktop.
Save all3kcis/39392ca2a38037487460dd36fd73bed1 to your computer and use it in GitHub Desktop.
Show errors only in log file
<?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