Skip to content

Instantly share code, notes, and snippets.

View dianastefan's full-sized avatar

Diana Elena Stefan dianastefan

View GitHub Profile
@dianastefan
dianastefan / remote.php
Last active October 8, 2015 18:08 — forked from decebal/remote.php
display errors on dev ip
if($_SERVER['REMOTE_ADDR'] == '85.204.238.130'){
ini_set("display_errors", 'On');
error_reporting(E_ALL ^ E_NOTICE);
}else{
ini_set("display_errors", 'Off');
}