diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/squid.xml b/packages/squid.xml index 2f81322a..1b1242a0 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -10,7 +10,7 @@ $lanip = $lancfg['ipaddr']; $lansa = gen_subnet($lancfg['ipaddr'], $lancfg['subnet']); $lansn = $lancfg['subnet']; - safe_mkdir("/usr/local/etc/squid") + safe_mkdir("/usr/local/etc/squid"); $fout = fopen("/usr/local/etc/squid/squid.conf","w"); fwrite($fout, "#\n"); fwrite($fout, "# This file was automatically generated by the pfSense package manager\n"); @@ -42,7 +42,6 @@ conf_mount_rw(); config_lock(); global $config; - /* if ($_POST[0] == "") $_POST = $config['installedpackages']['package']['squid']['config']; */ write_squid_static_config(); $fout = fopen("/usr/local/etc/squid/squid.conf", "a"); if ($_POST['cache_size'] != "") fwrite($fout, "cache_mem " . $_POST['cache_size'] . " MB\n"); |