aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_auth.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-08 21:52:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-08 21:52:32 +0000
commit9e3cc108457f8144783f10e6c6a54e82e1d07565 (patch)
tree7d6e8d95028abed039a5af0190afccf940e59888 /packages/squid_auth.inc
parent79f8aaf26ad4376a7cb31c76bda5f3afd4659938 (diff)
downloadpfsense-packages-9e3cc108457f8144783f10e6c6a54e82e1d07565.tar.gz
pfsense-packages-9e3cc108457f8144783f10e6c6a54e82e1d07565.tar.bz2
pfsense-packages-9e3cc108457f8144783f10e6c6a54e82e1d07565.zip
Cleanup errors
Diffstat (limited to 'packages/squid_auth.inc')
-rw-r--r--packages/squid_auth.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/squid_auth.inc b/packages/squid_auth.inc
index e5eb2d2a..8f52a16c 100644
--- a/packages/squid_auth.inc
+++ b/packages/squid_auth.inc
@@ -80,7 +80,7 @@ function dynamic_no_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>' . "\n");
+ fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextnoauth</name>\n");
fwrite($fout, " <title>Services: Proxy Server -> Extended Authentication Settings</title>\n");
@@ -135,10 +135,10 @@ function dynamic_no_auth() {
fwrite($fout, " </fields>\n");
fwrite($fout, "\n");
fwrite($fout, " <custom_add_php_command_late>\n");
- fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");' . "\n");
+ fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");\n');
fwrite($fout, "\n");
fwrite($fout, " global_write_squid_config();\n");
- fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");' . "\n");
+ fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");\n');
fwrite($fout, " </custom_add_php_command_late>\n");
fwrite($fout, "\n");
fwrite($fout, "</packagegui>\n");
@@ -155,7 +155,7 @@ function dynamic_local_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>' . "\n");
+ fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextlocalauth</name>\n");
@@ -259,11 +259,11 @@ function dynamic_local_auth() {
fwrite($fout, " </fields>\n");
fwrite($fout, "\n");
fwrite($fout, " <custom_add_php_command_late>\n");
- fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");' . "\n");
+ fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");\n');
fwrite($fout, "\n");
fwrite($fout, " mod_htpasswd();\n");
fwrite($fout, " global_write_squid_config();\n");
- fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");' . "\n");
+ fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");\n');
fwrite($fout, " </custom_add_php_command_late>\n");
fwrite($fout, "\n");
fwrite($fout, "</packagegui>\n");
@@ -280,7 +280,7 @@ function dynamic_ldap_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>' . "\n");
+ fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextldapauth</name>\n");
@@ -336,7 +336,7 @@ function dynamic_ldap_auth() {
fwrite($fout, " <field>\n");
fwrite($fout, " <fielddescr>Base DN</fielddescr>\n");
fwrite($fout, " <fieldname>ldap_basedn</fieldname>\n");
- fwrite($fout, ' <description>This is the base where the LDAP search starts. All subsequent organizational units (OUs)will be included. Example: "ou=users,o=company" will search for users in and under the specified company.</description>' . "\n");
+ fwrite($fout, ' <description>This is the base where the LDAP search starts. All subsequent organizational units (OUs)will be included. Example: "ou=users,o=company" will search for users in and under the specified company.</description>\n');
fwrite($fout, " <type>input</type>\n");
fwrite($fout, " <size>50</size>\n");
fwrite($fout, " </field>\n");
@@ -365,7 +365,7 @@ function dynamic_ldap_auth() {
fwrite($fout, " <field>\n");
fwrite($fout, " <fielddescr>LDAP Port</fielddescr>\n");
fwrite($fout, " <fieldname>ldap_port</fieldname>\n");
- fwrite($fout, ' <description>This is the port that LDAP bind will attempt on. The default is "389".</description>' . "\n");
+ fwrite($fout, ' <description>This is the port that LDAP bind will attempt on. The default is "389".</description>\n');
fwrite($fout, " <type>input</type>\n");
fwrite($fout, " <size>5</size>\n");
fwrite($fout, " </field>\n");
@@ -373,7 +373,7 @@ function dynamic_ldap_auth() {
fwrite($fout, " <field>\n");
fwrite($fout, " <fielddescr>Bind DN Username</fielddescr>\n");
fwrite($fout, " <fieldname>bind_dn_username</fieldname>\n");
- fwrite($fout, ' <description>If "anonymous bind" is not supported, please specify the bind username that can access the Base DN hierarchy.</description>' . "\n");
+ fwrite($fout, ' <description>If "anonymous bind" is not supported, please specify the bind username that can access the Base DN hierarchy.</description>\n');
fwrite($fout, " <type>input</type>\n");
fwrite($fout, " <size>30</size>\n");
fwrite($fout, " </field>\n");
@@ -388,12 +388,12 @@ function dynamic_ldap_auth() {
fwrite($fout, " </fields>\n");
fwrite($fout, "\n");
fwrite($fout, " <custom_add_php_command_late>\n");
- fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");' . "\n");
+ fwrite($fout, ' require_once("/usr/local/pkg/squid_ng.inc");\n');
fwrite($fout, "\n");
fwrite($fout, " mod_htpasswd();\n");
fwrite($fout, "\n");
fwrite($fout, " global_write_squid_config();\n");
- fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");' . "\n");
+ fwrite($fout, ' mwexec("/usr/local/sbin/squid -k reconfigure");\n');
fwrite($fout, " </custom_add_php_command_late>\n");
fwrite($fout, "\n");
fwrite($fout, "</packagegui>\n");