diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-02 11:09:45 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-02 11:09:45 -0300 |
commit | 233e9068bd5b186cebbfb0ceff6ead0ae81a2a43 (patch) | |
tree | 1f473f01fe9c40739842422a6524813c557225ec /config/squid-reverse/squid_ng.inc | |
parent | b6a19e94b93047f9822d61aaf2d478c09aecbae3 (diff) | |
download | pfsense-packages-233e9068bd5b186cebbfb0ceff6ead0ae81a2a43.tar.gz pfsense-packages-233e9068bd5b186cebbfb0ceff6ead0ae81a2a43.tar.bz2 pfsense-packages-233e9068bd5b186cebbfb0ceff6ead0ae81a2a43.zip |
squid3 - include some array checks and rename php_install function to avoid warning/errors with other packages
related post
http://forum.pfsense.org/index.php/topic,51001.msg272499.html#msg272499
Diffstat (limited to 'config/squid-reverse/squid_ng.inc')
-rw-r--r-- | config/squid-reverse/squid_ng.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/squid-reverse/squid_ng.inc b/config/squid-reverse/squid_ng.inc index 03f6d48c..b0604b02 100644 --- a/config/squid-reverse/squid_ng.inc +++ b/config/squid-reverse/squid_ng.inc @@ -796,11 +796,11 @@ function global_write_squid_config() touch($squidconfig); } /* end function write_squid_config */ -function custom_php_install_command() { +function squid3_custom_php_install_command() { /* write initial static config for transparent proxy */ write_static_squid_config(); - touch("/tmp/custom_php_install_command"); + touch("/tmp/squid3_custom_php_install_command"); /* make sure this all exists, see: * http://forum.pfsense.org/index.php?topic=23.msg2391#msg2391 @@ -903,7 +903,7 @@ function custom_php_install_command() { start_service("squid"); } -function custom_php_deinstall_command() { +function squid3_custom_php_deinstall_command() { update_output_window("Stopping proxy service..."); stop_service("squid"); sleep(1); |