aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_auth.inc
diff options
context:
space:
mode:
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");