aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/squid_auth.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/squid_auth.inc b/packages/squid_auth.inc
index 80583a33..fd0384f0 100644
--- a/packages/squid_auth.inc
+++ b/packages/squid_auth.inc
@@ -1,3 +1,4 @@
+<?php
/* $Id$ */
/*
@@ -78,8 +79,7 @@ function dynamic_no_auth() {
conf_mount_rw();
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
-
- fwrite($fout, '&lt;?xml version="1.0" encoding="utf-8" ?&gt;\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");
@@ -154,7 +154,7 @@ function dynamic_local_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '&lt;?xml version="1.0" encoding="utf-8" ?&gt;\n');
+ fwrite($fout, "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n");
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextlocalauth</name>\n");
@@ -279,7 +279,7 @@ function dynamic_ldap_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '&lt;?xml version="1.0" encoding="utf-8" ?&gt;\n');
+ fwrite($fout, "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n");
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextldapauth</name>\n");
@@ -444,4 +444,5 @@ function dynamic_auth_content($pkgvar) {
break;
}
-} /* end function dynamic_auth_content */ \ No newline at end of file
+} /* end function dynamic_auth_content */
+?> \ No newline at end of file