phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site config.inc.php,1.4,1.5


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site config.inc.php,1.4,1.5
Date: Thu, 22 May 2003 23:37:27 -0400

Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site
In directory subversions:/tmp/cvs-serv7770/sitemgr-site

Modified Files:
        config.inc.php 
Log Message:
numerous bugs and improved ACL


Index: config.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-site/config.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** config.inc.php      22 May 2003 02:36:54 -0000      1.4
--- config.inc.php      23 May 2003 03:37:25 -0000      1.5
***************
*** 29,36 ****
  
                $GLOBALS['phpgw']->db->query("SELECT 
anonymous_user,anonymous_passwd FROM phpgw_sitemgr_sites WHERE site_url = 
'$site_url'");
!               $GLOBALS['phpgw']->db->next_record();
!               $anonymous_user = $GLOBALS['phpgw']->db->f('anonymous_user');
!               $anonymous_passwd = 
$GLOBALS['phpgw']->db->f('anonymous_passwd');
! 
                //this is useful when you changed the API session class to not 
overgeneralize the session cookies
                if ($GLOBALS['HTTP_GET_VARS']['PHPSESSID'])
--- 29,41 ----
  
                $GLOBALS['phpgw']->db->query("SELECT 
anonymous_user,anonymous_passwd FROM phpgw_sitemgr_sites WHERE site_url = 
'$site_url'");
!               if ($GLOBALS['phpgw']->db->next_record())
!               {
!                       $anonymous_user = 
$GLOBALS['phpgw']->db->f('anonymous_user');
!                       $anonymous_passwd = 
$GLOBALS['phpgw']->db->f('anonymous_passwd');
!               }
!               else
!               {
!                       die(lang('THERE IS NO WEBSITE CONFIGURED FOR URL %1.  
NOTIFY THE ADMINISTRATOR.',$site_url));
!               }
                //this is useful when you changed the API session class to not 
overgeneralize the session cookies
                if ($GLOBALS['HTTP_GET_VARS']['PHPSESSID'])





reply via email to

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