[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgroupware index.php,1.110.2.2.2.2,1.110.2.2.2
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgroupware index.php,1.110.2.2.2.2,1.110.2.2.2.3 |
Date: |
Sun, 18 May 2003 11:14:40 -0400 |
Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv24137
Modified Files:
Tag: Version-0_9_16-branch
index.php
Log Message:
redirect to setup if there is no header
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/index.php,v
retrieving revision 1.110.2.2.2.2
retrieving revision 1.110.2.2.2.3
diff -C2 -r1.110.2.2.2.2 -r1.110.2.2.2.3
*** index.php 18 May 2003 07:01:58 -0000 1.110.2.2.2.2
--- index.php 18 May 2003 15:14:38 -0000 1.110.2.2.2.3
***************
*** 13,17 ****
$phpgw_info = array();
! $GLOBALS['sessionid'] = (isset($_GET['sessionid']) ? $_GET['sessionid']
: $_COOKIE['sessionid']);
if (! $GLOBALS['sessionid'])
{
--- 13,23 ----
$phpgw_info = array();
! if (!file_exists('header.inc.php'))
! {
! Header('Location: setup/index.php');
! exit;
! }
!
! $GLOBALS['sessionid'] = get_var('sessionid',array('GET','COOKIE'));
if (! $GLOBALS['sessionid'])
{
***************
*** 68,72 ****
{
// eval("\$GLOBALS['obj']->$method();");
! execmethod($GLOBALS['HTTP_GET_VARS']['menuaction']);
unset($app);
unset($obj);
--- 74,78 ----
{
// eval("\$GLOBALS['obj']->$method();");
! execmethod($_GET['menuaction']);
unset($app);
unset($obj);
***************
*** 99,103 ****
$GLOBALS['phpgw']->log->commit();
!
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/home.php'));
/*
$_obj = CreateObject('home.home');
--- 105,109 ----
$GLOBALS['phpgw']->log->commit();
! $GLOBALS['phpgw']->redirect_link('/home.php');
/*
$_obj = CreateObject('home.home');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgroupware index.php,1.110.2.2.2.2,1.110.2.2.2.3,
Ralf Becker <address@hidden> <=