/ Published in: PHP
Only Show Errors in Development Stage (Mostrar erros somente no estágio de desenvolvimento)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if ($_SERVER['REMOTE_ADDR'] !== '127.0.0.1'){ } else { // error_reporting(E_ALL ^ E_NOTICE); }