phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgroupware anon_wrapper.php,1.4.2.1.2.1


From: skwashd
Subject: [Phpgroupware-cvs] phpgroupware anon_wrapper.php,1.4.2.1.2.1
Date: Fri, 3 Jun 2005 01:28:00 +0200

Update of phpgroupware

Modified Files:
     Branch: Version-0_9_16-branch
            anon_wrapper.php lines: +2 -2

Log Message:
fix redirect_link

====================================================
Index: phpgroupware/anon_wrapper.php
diff -u phpgroupware/anon_wrapper.php:1.4 
phpgroupware/anon_wrapper.php:1.4.2.1.2.1
--- phpgroupware/anon_wrapper.php:1.4   Mon Dec 24 05:04:23 2001
+++ phpgroupware/anon_wrapper.php       Thu Jun  2 23:28:19 2005
@@ -29,6 +29,12 @@
        );
        include('./header.inc.php');

-       $sessionid = $GLOBALS['phpgw']->session->create($login,$passwd);
-       $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php'));
+       // If your are going to use multiable accounts, remove the following 
lines
+       // You must create the useraccount and check its permissions before use
+
+       $login  = 'anonymous';
+       $passwd = 'anonymous';
+
+       $sessionid = $GLOBALS['phpgw']->session->create($login,$passwd,'text');
+       $GLOBALS['phpgw']->redirect_link('/index.php');
 ?>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]