summaryrefslogtreecommitdiffstats
path: root/etc/rc.notify_message
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-05-09 05:57:42 -0700
committerPhil Davis <phil.davis@inf.org>2014-05-09 05:57:42 -0700
commit17c2c2fa13ee403f55130a7225c179bcabd88999 (patch)
tree2e7163588d53ea9ef6735071eca16e5d5814ae10 /etc/rc.notify_message
parent1d939dca99d00cfb4439516e6c623a3cb43c106c (diff)
downloadpfsense-17c2c2fa13ee403f55130a7225c179bcabd88999.zip
pfsense-17c2c2fa13ee403f55130a7225c179bcabd88999.tar.gz
Use require_once in more places
I got: PHP Fatal error: Cannot redeclare file_notice() (previously declared in /etc/inc/notices.inc:55) in /etc/inc/notices.inc on line 91 So there are places that notices.inc gets require() when already required.
Diffstat (limited to 'etc/rc.notify_message')
-rwxr-xr-xetc/rc.notify_message8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.notify_message b/etc/rc.notify_message
index 8e51785..5075e8b 100755
--- a/etc/rc.notify_message
+++ b/etc/rc.notify_message
@@ -28,9 +28,9 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("config.inc");
-require("functions.inc");
-require("notices.inc");
+require_once("config.inc");
+require_once("functions.inc");
+require_once("notices.inc");
$arguments = getopt("egm:");
@@ -61,4 +61,4 @@ if($message) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud