cvs: php-gtk-web /include cvs-auth.inc

[email protected] ("Steph Fox") Sun, 09 Jul 2006 17:02:53 -0000
Newsgroups php.gtk.webmaster
Message-ID <cvssfox1152464573@cvsserver>
sfox		Sun Jul  9 17:02:53 2006 UTC

  Modified files:              
    /php-gtk-web/include	cvs-auth.inc 
  Log:
  more timings...
  
http://cvs.php.net/viewvc.cgi/php-gtk-web/include/cvs-auth.inc?r1=1.7&r2=1.8&diff_format=u
Index: php-gtk-web/include/cvs-auth.inc
diff -u php-gtk-web/include/cvs-auth.inc:1.7 php-gtk-web/include/cvs-auth.inc:1.8
--- php-gtk-web/include/cvs-auth.inc:1.7	Sun Jul  9 08:37:09 2006
+++ php-gtk-web/include/cvs-auth.inc	Sun Jul  9 17:02:53 2006
@@ -1,5 +1,5 @@
 <?php
-/* $Id: cvs-auth.inc,v 1.7 2006/07/09 08:37:09 sfox Exp $ */
+/* $Id: cvs-auth.inc,v 1.8 2006/07/09 17:02:53 sfox Exp $ */
 require_once('config.inc');
 
 function get_auth($name, $pass, $connect = null) {
@@ -57,7 +57,7 @@
 
 			if ($auth == true) {
 				$encoded = get_auth($user, $pass);
-				setcookie('PHP-GTK', base64_encode($user.':'.$encoded), time()+(3600*24), '/');
+				setcookie('PHP-GTK', base64_encode($user.':'.$encoded), time()+(3600*6), '/');
 				file_put_contents(DB_DIR."/$user.txt", $encoded);
 			}
 		}