summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-27 04:32:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-27 04:32:46 +0000
commitcb144a6d547208e2b6136d1f0d8c299a22e49d0a (patch)
tree32ff7edc794cc832ff6715924035d5f18ee6f266 /usr/local/www/head.inc
parent626544136e8324e77af198dad26e4ad3e51f0240 (diff)
downloadpfsense-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-xusr/local/www/head.inc6
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
OpenPOWER on IntegriCloud