![]() |
|---|
| [ Index ] |
Source Code Reference for V1.00 |
[Summary view] [Print] [Text view]
1 <?php /* $Id: config-dist.php 132 2008-04-03 21:54:15Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/includes/config-dist.php $ */ 2 if (!defined('W2P_BASE_DIR')) { 3 die('You should not access this file directly.'); 4 } 5 /* 6 Copyright (c) 2007-2008 The web2Project Development Team <w2p-developers@web2project.net> 7 Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net> 8 9 This file is part of web2Project. 10 11 web2Project is free software; you can redistribute it and/or modify 12 it under the terms of the GNU General Public License as published by 13 the Free Software Foundation; either version 2 of the License, or 14 (at your option) any later version. 15 16 web2Project is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with web2Project; if not, write to the Free Software 23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 25 The full text of the GPL is in the COPYING file. 26 */ 27 28 /* 29 * * * INSTALLATION INSTRUCTIONS * * * 30 31 Point your browser to install/index.php and follow the prompts. 32 It is no longer necessary to manually create this file unless 33 the web server cannot write to the includes directory. 34 35 */ 36 37 // DATABASE ACCESS INFORMATION [DEFAULT example] 38 // Modify these values to suit your local settings 39 40 $w2Pconfig['dbtype'] = 'mysql'; // ONLY MySQL is supported at present 41 $w2Pconfig['dbhost'] = 'localhost'; 42 $w2Pconfig['dbname'] = 'web2project'; // Change to match your web2Project Database Name 43 $w2Pconfig['dbuser'] = 'w2p_user'; // Change to match your MySQL Username 44 $w2Pconfig['dbpass'] = 'w2p_pass'; // Change to match your MySQL Password 45 $w2Pconfig['dbprefix'] = 'w2p_prefix_'; // Change to match the prefix used for db table names 46 47 // set this value to true to use persistent database connections 48 $w2Pconfig['dbpersist'] = false; 49 50 /***************** Configuration for DEVELOPERS use only! ******/ 51 // Root directory is now automatically set to avoid 52 // getting it wrong. 53 $w2Pconfig['root_dir'] = W2P_BASE_DIR; 54 55 // Base Url is now automatically set to avoid 56 // getting it wrong. 57 $w2Pconfig['base_url'] = W2P_BASE_URL; 58 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Nov 20 03:00:14 2008 | Cross-referenced by PHPXref 0.7 |