From 233e9068bd5b186cebbfb0ceff6ead0ae81a2a43 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Mon, 2 Jul 2012 11:09:45 -0300 Subject: 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 --- config/squid-reverse/squid_ng.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/squid-reverse/squid_ng.inc') 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); -- cgit v1.2.3