<?php
/**
* base configuration file
*
* @package Papaya
* @subpackage Core
*/
/*------------------------------------------------------------------------------
Framework
------------------------------------------------------------------------------*/
/**
* Path to the papaya CMS class framework (~/papaya-lib/)
*/
define('PAPAYA_INCLUDE_PATH', dirname(__FILE__).'/papaya-lib/');
/*------------------------------------------------------------------------------
Database access
------------------------------------------------------------------------------*/
/**
* Database URI
*/
define('PAPAYA_DB_URI', 'protocol://user:hide@address.com/database');
/**
* Database URI for Insert/Update/... if different
*/
define('PAPAYA_DB_URI_WRITE', NULL);
/**
* options table name (including prefix)
*/
define('PAPAYA_DB_TBL_OPTIONS', 'papaya_options');
/**
* papaya tables prefix
*/
define('PAPAYA_DB_TABLEPREFIX', 'papaya');
/*------------------------------------------------------------------------------
Maintenance / Technical problems
------------------------------------------------------------------------------*/
/**
* maintenance mode - show maintenance page
*/
define('PAPAYA_MAINTENANCE_MODE', FALSE);
/**
* maintenance page - (error/maintenance.html)
*/
define('PAPAYA_ERRORDOCUMENT_MAINTENANCE', '');
/**
* technical problems page - (error/503.html) - no framework / no database
*/
define('PAPAYA_ERRORDOCUMENT_503', '');
/*------------------------------------------------------------------------------
Security
------------------------------------------------------------------------------*/
/**
* password hashing method (md5|sha1)
*/
define('PAPAYA_PASSWORD_METHOD', 'md5');
/**
* added to passwords before hashing
*/
define('PAPAYA_PASSWORD_PREFIX', '');
/**
* added to passwords before hashing
*/
define('PAPAYA_PASSWORD_SUFFFIX', '');
/**
* disable custom http-headers like X-Generator and X-Papaya-Status
*/
define('PAPAYA_DISABLE_XHEADERS', FALSE);
/*------------------------------------------------------------------------------
Session Handling
------------------------------------------------------------------------------*/
/**
* suffix added to the default session name "sid" to handle conflicts
* changes here will require a change in the rewrite rules
*/
define('PAPAYA_SESSION_NAME', '');
/*------------------------------------------------------------------------------
Development
------------------------------------------------------------------------------*/
/**
* development mode - show parse errors for base includes and some other stuff
*/
define('PAPAYA_DBG_DEVMODE', FALSE);
?>