includes/functions.php
changeset 556 63e131c38876
parent 542 5841df0ab575
child 562 75df0b2c596c
--- a/includes/functions.php	Fri May 16 12:22:26 2008 -0400
+++ b/includes/functions.php	Sat May 24 23:40:42 2008 -0400
@@ -276,7 +276,7 @@
   $timestamp = $timestamp + ( $timezone * 60 );
   
   // Let PHP do the work for us =)
-  return date($string, $timestamp);
+  return gmdate($string, $timestamp);
 }
 
 /**
@@ -333,7 +333,7 @@
  * @param string $url The URL, either relative or absolute.
  * @param string $title The title of the message
  * @param string $message A short message to show to the user
- * @param string $timeout Timeout, in seconds, to delay the redirect. Defaults to 3.
+ * @param string $timeout Timeout, in seconds, to delay the redirect. Defaults to 3. If 0, sends a 307 Temporary Redirect.
  */
 
 function redirect($url, $title = 'etc_redirect_title', $message = 'etc_redirect_body', $timeout = 3)