diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-03 01:49:38 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-03 01:49:38 +0000 |
commit | b75c57f8dcffb49b19f3a47dd005d1edf5d88f85 (patch) | |
tree | 3ddd9cd43516294db2c97fb24c6b4416313ce29e /packages/siproxd.xml | |
parent | 9dfdfcef0604813948caa723ff7f70d5b95bba06 (diff) | |
download | pfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.tar.gz pfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.tar.bz2 pfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.zip |
If $_POST is not defined use config.xml data instead.
Diffstat (limited to 'packages/siproxd.xml')
-rw-r--r-- | packages/siproxd.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/siproxd.xml b/packages/siproxd.xml index d35488bc..132e0e94 100644 --- a/packages/siproxd.xml +++ b/packages/siproxd.xml @@ -118,6 +118,7 @@ conf_mount_rw(); config_lock(); global $config; + if ($_POST == "") $_POST = $config['installedpackages']['siproxd']['config']; $fout = fopen("/usr/local/etc/siproxd.conf","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); if($_POST['if_inbound'] != "") { |