Last active
August 29, 2015 14:06
-
-
Save masugadesign/462b059d21d0cb0ec93f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Does not include 'cp', which isn't present on the CP landing page. | |
# The SCRIPT_NAME will output 'mysystemdir/index.php' when in the control panel. | |
# I always set the system folder as a variable at the top of our config, because | |
# it is used in a few places. | |
$system_folder = 'mysystemdir'; | |
$config['show_profiler'] = (strpos($_SERVER['SCRIPT_NAME'], $system_folder) !== false) ? 'n' : 'y'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment