phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgroupware index.php,1.110,1.110.4.1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware index.php,1.110,1.110.4.1
Date: Wed, 25 Sep 2002 17:52:01 -0400

Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv27701

Modified Files:
      Tag: eTemplate
        index.php 
Log Message:
need to set real app instead of 'etemplate' to get all the constants setup

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/index.php,v
retrieving revision 1.110
retrieving revision 1.110.4.1
diff -C2 -r1.110 -r1.110.4.1
*** index.php   5 Dec 2001 16:00:39 -0000       1.110
--- index.php   25 Sep 2002 21:51:59 -0000      1.110.4.1
***************
*** 48,51 ****
--- 48,57 ----
        }
  
+       // this is necessary to have the api setup its constant correct
+       if ($GLOBALS['HTTP_GET_VARS']['menuaction'] == 
'etemplate.etemplate.process_exec' && isset($GLOBALS['HTTP_GET_VARS']['app']))
+       {
+               $app = $GLOBALS['HTTP_GET_VARS']['app'];
+               $etemplate_requested = True;
+       }
        $GLOBALS['phpgw_info']['flags'] = array(
                'noheader'   => True,
***************
*** 63,66 ****
--- 69,76 ----
        {
                $app = 'phpgwapi';
+       }
+       if ($etemplate_requested)
+       {
+               $app = 'etemplate';
        }
  





reply via email to

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