[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.1.1.1,1.2
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.1.1.1,1.2 |
Date: |
Thu, 29 Aug 2002 02:16:50 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-link
In directory subversions:/tmp/cvs-serv30465
Modified Files:
index.php
Log Message:
updated to work with new name and 0.9.15
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-link/index.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** index.php 29 Aug 2002 03:03:17 -0000 1.1.1.1
--- index.php 29 Aug 2002 06:16:48 -0000 1.2
***************
*** 16,28 ****
'noapi' => False
);
! include('../header.inc.php');
!
$pref_so = CreateObject('sitemgr.sitePreference_SO', True);
! $location = $pref_so->getPreference('sitemgr-gen-url');
! $dir = $pref_so->getPreference('sitemgr-gen-dir');
if ($location && file_exists($dir . '/config.inc.php'))
{
! require_once ($dir . '/config.inc.php');
Header('Location: ' . sitemgr_link2('/index.php'));
exit;
}
--- 16,36 ----
'noapi' => False
);
! if (file_exists('../header.inc.php'))
! {
! include('../header.inc.php');
! }
! else
! {
! echo "You need to make sure the sitemgr-link app is in the
phpgroupware directory. If you made a symbolic link... it isn't working.";
! die();
! }
$pref_so = CreateObject('sitemgr.sitePreference_SO', True);
! $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');
Header('Location: ' . sitemgr_link2('/index.php'));
+ //echo sitemgr_link2('/index.php');
exit;
}
***************
*** 30,34 ****
{
$GLOBALS['phpgw']->common->phpgw_header();
! echo parse_navbar();
$aclbo = CreateObject('sitemgr.ACL_BO', True);
echo '<table width="50%"><tr><td>';
--- 38,42 ----
{
$GLOBALS['phpgw']->common->phpgw_header();
! //echo parse_navbar();
$aclbo = CreateObject('sitemgr.ACL_BO', True);
echo '<table width="50%"><tr><td>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.1.1.1,1.2,
Patrick Walsh <address@hidden> <=