Created
September 21, 2015 11:53
-
-
Save bobbravo2/8454a1027682cf91a98c 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
if ( php_sapi_name() == 'cli' ) { | |
//Show errors on WHMCS Cron Job | |
$display_errors = true; | |
} else { | |
//Hide for production | |
$display_errors = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment