Skip to content

Instantly share code, notes, and snippets.

@markupboy
Forked from davist11/config.php
Created February 14, 2013 17:05
Show Gist options
  • Save markupboy/4954315 to your computer and use it in GitHub Desktop.
Save markupboy/4954315 to your computer and use it in GitHub Desktop.
<?php
if(empty($_SERVER['HTTP_X_REQUESTED_WITH'])) {
$config['show_profiler'] = $config['template_debugging'] = (ENV === 'local') ? 'y' : 'n';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment