<?php
// --------------------------------------------------------------------------
//
// Esvon Classifieds v.4.0
// Copyright(C), Esvon LTD, 2001-2010, All Rights Reserved.
// E-mail: hide@address.com
//
// All forms of reproduction, including, but not limited to, internet posting,
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running Esvon Classifieds.
// To obtain a license for using Esvon Classifieds, please register at
// http://www.esvon.com/pg/products/p_classifieds/
//
// --------------------------------------------------------------------------
define('DB_SERVER','localhost');
define('DB_NAME','db_name');
define('DB_USER','db_username');
define('DB_PW','db_pass');
define('SITE_PATH',str_replace('\\','/',substr(dirname(__FILE__),0,-3)));
define('TPL_PATH', SITE_PATH.'tpl/');
if(defined('E_DEPRECATED')){ // php5.3+
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); // E_ALL | E_STRICT
//if(function_exists('date_default_timezone_set')) date_default_timezone_set(@date_default_timezone_get());
}
else{
error_reporting(E_ALL ^ E_NOTICE);
//@ini_set('error_reporting', E_ALL ^ E_NOTICE);
@set_magic_quotes_runtime(0); // deprecated since php 5.3+
}
// ini_set('log_errors', 'On');
// ini_set('error_log', '/usr/local/apache/logs/error_log');
ini_set('display_errors', 'On');
//ini_set('memory_limit','30M');
// Prefix that all database tables have
define('TBL_PREFIX','ec4_');
// Thumbnails background color
define('THUMB_BG', 'FFFFFF');
define('THUMB_FILL', true);
// Browsing thumbnail width, set this to 0 to display photo icon instead of the thumbnail photo
define('THUMB_WIDTH', 0);
/*
Possible debug levels:
0: None - Don't show any debug information
1: Show server load, page generation time, gzip compression stats and query count
2: Show level 1 (above) and GET and POST information
3: Show level 1 + 2 and database queries
*/
define('DEBUG_LEVEL', 0);
/*
ENABLE SQL Debug Mode? (0/1)
(If yes, add '&debug=1' to any page to view SQL debug info)
*/
define('EN_DEBUG_SQL', 0);
/*
Default index page - which file from /inc/pages/ should be loaded by default,
w/o extension, e.g. browse = browse.php
*/
define('IDX_PAGE', 'browse');
/*
Listing Title DB field name (shared across all fieldsets).
It must be present in each fieldset as Ad Title
*/
$TITLE_FIELD = 'v_title';
require SITE_PATH.'inc/app_init.php';