phpgroupware-cvs
[Top][All Lists]
Advanced

[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'))
        {





reply via email to

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