summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-07-25 17:38:48 +0200
committerMichael Tänzer <neo@nhng.de>2011-07-25 17:38:48 +0200
commit4f675d3e8d062e2c6bca2c3e45d2930e4cb2dbf9 (patch)
tree39dc69bd9e76d8f8ff218762e7e8b85e31d4a583 /includes
parent1a2176853f702066376d61bebab664c8181792dc (diff)
downloadcacert-4f675d3e8d062e2c6bca2c3e45d2930e4cb2dbf9.tar.gz
cacert-4f675d3e8d062e2c6bca2c3e45d2930e4cb2dbf9.tar.xz
cacert-4f675d3e8d062e2c6bca2c3e45d2930e4cb2dbf9.zip
Source code taken from cacert-20110722.tar.bz2
Diffstat (limited to 'includes')
-rw-r--r--includes/about_menu.php2
-rw-r--r--includes/general.php4
-rw-r--r--includes/mysql.php.sample4
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/about_menu.php b/includes/about_menu.php
index 2f3080d..f34a274 100644
--- a/includes/about_menu.php
+++ b/includes/about_menu.php
@@ -4,7 +4,7 @@
<li><a href="http://blog.cacert.org/"><?=_("CAcert News")?></a></li>
<li><a href="http://wiki.CAcert.org/"><?=_("Wiki Documentation")?></a></li>
<li><a href="/policy/"><?=_("Policies")?></a></li>
- <li><a href="/index.php?id=19"><?=_("Point System")?></a></li>
+ <li><a href="//wiki.cacert.org/FAQ/Privileges"><?=_("Point System")?></a></li>
<li><a href="http://bugs.CAcert.org/"><?=_("Bug Database")?></a></li>
<? // <li><a href="/index.php?id=47">< = _ ("PR Materials" ) > </a></li> ?>
<? // <li><a href="/logos.php">< ? = _ ( " CAcert Logos " ) ? > </a></li> ?>
diff --git a/includes/general.php b/includes/general.php
index 5789875..16b75e4 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -673,12 +673,12 @@
$line = fgets($fp, 4096);
if(substr($line, 0, 3) != "250")
continue;
- fputs($fp, "MAIL FROM: <returns@cacert.org>\r\n");
+ fputs($fp, "MAIL FROM:<returns@cacert.org>\r\n");
$line = fgets($fp, 4096);
if(substr($line, 0, 3) != "250")
continue;
- fputs($fp, "RCPT TO: <$email>\r\n");
+ fputs($fp, "RCPT TO:<$email>\r\n");
$line = trim(fgets($fp, 4096));
fputs($fp, "QUIT\r\n");
fclose($fp);
diff --git a/includes/mysql.php.sample b/includes/mysql.php.sample
index 1f477e4..ff5cfc3 100644
--- a/includes/mysql.php.sample
+++ b/includes/mysql.php.sample
@@ -55,11 +55,11 @@
$InputBuffer = fgets($smtp, 1024);
fputs($smtp, "HELO www.cacert.org\r\n");
$InputBuffer = fgets($smtp, 1024);
- fputs($smtp, "MAIL FROM: <returns@cacert.org>\r\n");
+ fputs($smtp, "MAIL FROM:<returns@cacert.org>\r\n");
$InputBuffer = fgets($smtp, 1024);
$bits = explode(",", $to);
foreach($bits as $user)
- fputs($smtp, "RCPT TO: <".trim($user).">\r\n");
+ fputs($smtp, "RCPT TO:<".trim($user).">\r\n");
$InputBuffer = fgets($smtp, 1024);
fputs($smtp, "DATA\r\n");
$InputBuffer = fgets($smtp, 1024);