[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.5,1.6
From: |
Michael Totschnig <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.5,1.6 |
Date: |
Thu, 16 Jan 2003 22:37:55 -0500 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-link
In directory subversions:/tmp/cvs-serv24731/sitemgr-link
Modified Files:
index.php
Log Message:
First commit of a new modularized architecture for sitemgr
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-link/index.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** index.php 5 Dec 2002 22:15:00 -0000 1.5
--- index.php 17 Jan 2003 03:37:52 -0000 1.6
***************
*** 28,36 ****
$location = $pref_so->getPreference('sitemgr-site-url');
$dir = $pref_so->getPreference('sitemgr-site-dir');
! if ($location && file_exists($dir . '/config.inc.php'))
{
- require_once($dir . '/config.inc.php');
require_once($dir . '/functions.inc.php');
! Header('Location: ' . sitemgr_link2('/index.php'));
//echo sitemgr_link2('/index.php');
exit;
--- 28,37 ----
$location = $pref_so->getPreference('sitemgr-site-url');
$dir = $pref_so->getPreference('sitemgr-site-dir');
! $sitemgr_info['sitemgr-site-url'] =
$pref_so->getPreference('sitemgr-site-url');
! if ($location && file_exists($dir . '/functions.inc.php'))
{
require_once($dir . '/functions.inc.php');
!
! Header('Location: ' .
sitemgr_link2('/index.php',array("PHPSESSID" => session_id())));
//echo sitemgr_link2('/index.php');
exit;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.5,1.6,
Michael Totschnig <address@hidden> <=