[ Index ]
 

Code source de dotProject 2.1 RC1

Accédez au Source d'autres logiciels libres | Soutenez Angelica Josefina !

title

Body

[fermer]

/includes/ -> config-dist.php (source)

   1  <?php /* $Id: config-dist.php,v 1.54.8.1 2006/01/01 15:58:05 pedroix Exp $ */
   2  
   3  /*
   4  Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net>
   5  
   6      This file is part of dotProject.
   7  
   8      dotProject is free software; you can redistribute it and/or modify
   9      it under the terms of the GNU General Public License as published by
  10      the Free Software Foundation; either version 2 of the License, or
  11      (at your option) any later version.
  12  
  13      dotProject is distributed in the hope that it will be useful,
  14      but WITHOUT ANY WARRANTY; without even the implied warranty of
  15      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16      GNU General Public License for more details.
  17  
  18      You should have received a copy of the GNU General Public License
  19      along with dotProject; if not, write to the Free Software
  20      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21  
  22  The full text of the GPL is in the COPYING file.
  23  */
  24  
  25  /*
  26      * * * INSTALLATION INSTRUCTIONS * * *
  27  
  28    Point your browser to install/index.php and follow the prompts.
  29      It is no longer necessary to manually create this file unless
  30      the web server cannot write to the includes directory.
  31  
  32  */
  33  
  34  // DATABASE ACCESS INFORMATION [DEFAULT example]
  35  // Modify these values to suit your local settings
  36  
  37  $dPconfig['dbtype'] = 'mysql';      // ONLY MySQL is supported at present
  38  $dPconfig['dbhost'] = 'localhost';
  39  $dPconfig['dbname'] = 'dotproject';  // Change to match your DotProject Database Name
  40  $dPconfig['dbuser'] = 'dp_user';  // Change to match your MySQL Username
  41  $dPconfig['dbpass'] = 'dp_pass';  // Change to match your MySQL Password
  42  
  43  // set this value to true to use persistent database connections
  44  $dPconfig['dbpersist'] = false;
  45  
  46  /***************** Configuration for DEVELOPERS use only! ******/
  47  // Root directory is now automatically set to avoid
  48  // getting it wrong. It is also deprecated as $baseDir
  49  // is now set in top-level files index.php and fileviewer.php.
  50  // All code should start to use $baseDir instead of root_dir.
  51  $dPconfig['root_dir'] = $baseDir;
  52  
  53  // Base Url is now automatically set to avoid
  54  // getting it wrong. It is also deprecated as $baseUrl
  55  // is now set in top-level files index.php and fileviewer.php.
  56  // All code should start to use $baseUrl instead of base_url.
  57  $dPconfig['base_url'] = $baseUrl;
  58  ?>


Généré le : Sun Feb 18 19:46:52 2007 par Balluche grâce à PHPXref 0.7