diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 04:32:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-27 04:32:46 +0000 |
commit | cb144a6d547208e2b6136d1f0d8c299a22e49d0a (patch) | |
tree | 32ff7edc794cc832ff6715924035d5f18ee6f266 /usr/local/www/head.inc | |
parent | 626544136e8324e77af198dad26e4ad3e51f0240 (diff) | |
download | pfsense-cb144a6d547208e2b6136d1f0d8c299a22e49d0a.zip pfsense-cb144a6d547208e2b6136d1f0d8c299a22e49d0a.tar.gz |
Include firebug lite if enablefirebug lite GET parm is set
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-x | usr/local/www/head.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index b6386f9..f8d0d2b 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -30,7 +30,11 @@ $pagetitle = gentitle( $pgtitle ); var theme = "<?php echo $g['theme']; ?>"; </script> <?php outputJavaScriptFileInline("themes/{$g['theme']}/loader.js"); ?> -<? +<?php + if($_GET['enablefirebuglite']) { + outputJavaScriptFileInline("javascript/pi.js"); + outputJavaScriptFileInline("javascript/firebug-lite.js"); + } /* * Find all javascript files that need to be included |