summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-02 08:28:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-02 08:28:36 +0000
commitb3f4e57c7e7661188797ec0911fe926cba8e0d15 (patch)
tree3c6afe2d7efd2a9af5976607e46e12d2a30efcb9 /usr/local/www/wizard.php
parent0cbacfb391a17b21654f220620c26ba0f612b142 (diff)
downloadpfsense-b3f4e57c7e7661188797ec0911fe926cba8e0d15.zip
pfsense-b3f4e57c7e7661188797ec0911fe926cba8e0d15.tar.gz
* Seperate out code from eval() blocks into a common include file
* Add support for common include file
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 0de1009..9c81df1 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -64,6 +64,9 @@ exec('/usr/bin/tar -tzf /usr/share/zoneinfo.tgz', $timezonelist);
$timezonelist = array_filter($timezonelist, 'is_timezone');
sort($timezonelist);
+if ($pkg['step'][$stepid]['includefile'])
+ require($pkg['step'][$stepid]['includefile']);
+
if($pkg['step'][$stepid]['stepsubmitbeforesave']) {
eval($pkg['step'][$stepid]['stepsubmitbeforesave']);
}
OpenPOWER on IntegriCloud