[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.7,1.8
From: |
Michael Totschnig <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.7,1.8 |
Date: |
Wed, 21 May 2003 22:36:56 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-link
In directory subversions:/tmp/cvs-serv6703/sitemgr-link
Modified Files:
index.php
Log Message:
make sitemgr capable of editing multiple sites
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-link/index.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** index.php 31 Jan 2003 17:03:42 -0000 1.7
--- index.php 22 May 2003 02:36:54 -0000 1.8
***************
*** 25,32 ****
die();
}
! $pref_so = CreateObject('sitemgr.sitePreference_SO', True);
! $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'))
{
--- 25,33 ----
die();
}
! $sites_bo = createobject('sitemgr.Sites_BO');
! $siteinfo = $sites_bo->get_currentsiteinfo();
! $location = $siteinfo['site_url'];
! $dir = $siteinfo['site_dir'];
! $sitemgr_info['site_url'] = $location;
if ($location && file_exists($dir . '/functions.inc.php'))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-link index.php,1.7,1.8,
Michael Totschnig <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: sitemgr/templates/default listsites.tpl,NONE,1.1 site_form.tpl,NONE,1.1 sitemgr_header.tpl,1.3,1.4 header_footer_theme.tpl,1.1.1.1,NONEsite_format_manager.tpl,1.2,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/NukeNews main.tpl,1.5,1.6
- Previous by thread:
[Phpgroupware-cvs] CVS: sitemgr/templates/default listsites.tpl,NONE,1.1 site_form.tpl,NONE,1.1 sitemgr_header.tpl,1.3,1.4 header_footer_theme.tpl,1.1.1.1,NONEsite_format_manager.tpl,1.2,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/NukeNews main.tpl,1.5,1.6
- Index(es):