<?php
if(!defined('DIRECT_ACCESS')) {
die("Direct access is forbidden.");
}
define("MODE", "DEVELOPMENT");
/**
* Web root configuration
*/
define('SITE_ROOT', $_SERVER['DOCUMENT_ROOT']);
define('APP_ERROR', E_ALL); // development mode
//define('APP_ERROR', E_ALL ^ E_NOTICE); // production mode
define('DEBUGGING', TRUE);
define('ADMIN_ERROR_MAIL', 'administrator@definemvc.com');
define('SEND_ERROR_MAIL', FALSE);
define('SEND_ERROR_FROM', 'errors@definemvc.com');
define('ERROR_LOGGING', TRUE);
define('ERROR_LOGGING_FILE_WEB', SITE_ROOT.'/logs/errors.log');
define('SITE_GENERIC_ERROR_MSG', '<h1>Something wrong, sorry. Error!</h1>');
?>
|