summaryrefslogtreecommitdiffstats
path: root/etc/rc.restart_webgui
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-20 19:26:41 +0000
committerErmal <eri@pfsense.org>2014-03-20 19:26:41 +0000
commit1b34f8a73f3e7996eb2650330df1a02ff703b175 (patch)
tree8c7ba106bb826c947ffba70516fa4a0893241811 /etc/rc.restart_webgui
parent00a6fcb7fbaaeb070a6279874a85b74015efa2b4 (diff)
downloadpfsense-1b34f8a73f3e7996eb2650330df1a02ff703b175.zip
pfsense-1b34f8a73f3e7996eb2650330df1a02ff703b175.tar.gz
Add require_once where needed to avoid redeclaration from nested includes
Diffstat (limited to 'etc/rc.restart_webgui')
-rwxr-xr-xetc/rc.restart_webgui2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.restart_webgui b/etc/rc.restart_webgui
index 05eab12..eef8c01 100755
--- a/etc/rc.restart_webgui
+++ b/etc/rc.restart_webgui
@@ -6,7 +6,7 @@ require("config.inc");
require("functions.inc");
require("shaper.inc");
require("captiveportal.inc");
-require("rrd.inc");
+require_once("rrd.inc");
echo "Restarting webConfigurator...";
OpenPOWER on IntegriCloud