Location: PHPKode > projects > PLiMa > plima-0.5.2/inc/config.inc.php
<?
/***
  *		config.inc.php - configuration for pLiMa
  *
  *		note - there is just one other variable to be configured - WEB_ROOT located in init.inc.php
  *   pLiMa - php List Manager
  *   Copyright (C) 2003  Jinn Koriech (hide@address.com)
  *
  *		This file is part of pLiMa.
  *
  *   pLiMa is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
  *   the Free Software Foundation; either version 2 of the License, or
  *   any later version.
  *
  *   pLiMa 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 General Public License for more details.
  *
  *   You should have received a copy of the GNU General Public License
  *   along with pLiMa; if not, visit http://www.gnu.org or write to the
  *   Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *	  Boston, MA  02111-1307  USA
  *
  */


  // Define the database connection variables.
  define("DB_TYPE", "2"); 												// 2=MySQL, 1=PostgreSQL, currently pLiMa won't work with PostgreSQL
  define("DB_HOST", "localhost");

  define("DB_USER", "db_user");
  define("DB_PASS", "db_pass");
  define("DB_NAME", "db_name");

  // phpmailer configuration settings - see the phpmailer documentation for more information
  define("PHPMAILER_SEND_METHOD", "sendmail");		// options are 'sendmail', 'smtp', 'mail'
  define("PHPMAILER_SMTP_HOST", "127.0.0.1;192.168.1.20");		// only used if PHPMAILERS_SEND_METHOD is
                                                              // set to smtp.  accepts a semicolon separated
                                                              // list of servers as fallback.
  define("PHPMAILER_AUTH", "0")										// 0 = no authentication, 1 = authenticate
  define("PHPMAILER_AUTH_USERNAME", "username");	// only used if PHPMAILER_AUTH = 1 and
                                                  // PHPMAILER_SEND_METHOD = 'smtp'	, username to authenticate
                                                  // to SMTP server as
  define("PHPMAILER_AUTH_PASSWORD", "password");	// password to authenticate to SMTP server

  // The database table defaults
  define("TABLE_PREFIX", "plima_");							// table prefix
  $table_key = 'SMALLINT';							// default key field type
                                        // SMALLINT UNSIGNED = 65535
                                        // MEDIUMINT UNSIGNED = 16777215

  // Define the location for personal data.
  // This folder should not be visible via the http server.  This can be restricted using the .htaccess file
  define("DATA_ROOT", APP_ROOT."/data");

?>
Return current item: PLiMa