phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgroupware config.inc.php.sample, NONE, 1.1.2.1 ind


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] phpgroupware config.inc.php.sample, NONE, 1.1.2.1 index.php, 1.120.2.1, 1.120.2.2
Date: Thu, 23 Oct 2003 06:49:43 +0000

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

Added Files:
      Tag: nextgen
        config.inc.php.sample index.php 
Log Message:
adding the new framework code

--- NEW FILE: index.php ---
<?php
        
/**************************************************************************\
        * phpGroupWare                                                          
   *
        * http://www.phpgroupware.org                                           
   *
        * This file written by Dan Kuykendall <address@hidden>                 *
        * Copyright (C) 2003 Dan Kuykendall                                     
   *
        * 
-------------------------------------------------------------------------*
        * This library is part of the phpGroupWare API                          
   *
        * http://www.phpgroupware.org/api                                       
   * 
        * 
------------------------------------------------------------------------ *
        * This library is free software; you can redistribute it and/or modify 
it  *
        * under the terms of the GNU Lesser General Public License as published 
by *
        * the Free Software Foundation; either version 2.1 of the License,      
   *
        * or any later version.                                                 
   *
        * This library is distributed in the hope that it will be useful, but   
   *
        * WITHOUT ANY WARRANTY; without even the implied warranty of            
   *
        * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                  
   *
        * See the GNU Lesser General Public License for more details.           
   *
        * You should have received a copy of the GNU Lesser General Public 
License *
        * along with this library; if not, write to the Free Software 
Foundation,  *
        * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
        
\**************************************************************************/

        /* $Id: index.php,v 1.120.2.2 2003/10/23 06:49:41 seek3r Exp $ */

        // This isn't used yet
        function perfgetmicrotime()
        {
                list($usec, $sec) = explode(' ',microtime());
                return ((float)$usec + (float)$sec);
        }
        $GLOBALS['debug_timer_start'] = perfgetmicrotime();

        $GLOBALS['phpgw_data'] = array();
        require_once('api/starter.inc.php');

--- NEW FILE: config.inc.php.sample ---
<?php
$phpgw_config = '<?xml version="1.0" ?>
<config>
        <server>
                <db_host>your_host</db_host>
                <db_name>your_db</db_name>
                <db_user>your_user</db_user>
                <db_pass>your_pass</db_pass>
                <db_type>mysql</db_type>
<!--
                The other choice is:
                <db_type>pgsql</db_type>
-->
                <default_anon_op>api.base.login</default_anon_op>
<!--
                The other choice is:
                <default_anon_op>wcm.base.start</default_anon_op>
-->
        </server>
</config>';





reply via email to

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