예제 #1
0
파일: config.php 프로젝트: sergiotnt/igrape
 * @version		0.2.2
 *
 */
@ob_start();
@session_start();
################################
# System Settings
################################
require_once 'sysConfig.php';
################################
# Error and Message System
################################
error_reporting(E_ALL & ~E_NOTICE);
//Turn the Messages and Logs and Erros ON
//PhpBURN_Message::setMode(PhpBURN_Message::FIREBUG); //You can Choose FIREPHP, BROWSER OR FILE for now than more can came latter
################################
# Internacionalization Settings
################################
setlocale(LC_ALL, 'en_US');
date_default_timezone_set('America/Sao_Paulo');
################################
# Modules
################################
# To load the module just remove the # comment from the line
# Views
//PhpBURN::loadModule('View');
# Controller
//PhpBURN::loadModule('Controller');
# To load the module just remove the # comment from the line
PhpBURN::loadModule('Model');
예제 #2
0
파일: config.php 프로젝트: phpburn/phpburn
require_once 'sysConfig.php';
################################
# Getting current session if exists
################################
session_name(PHPBURN_SESSIONNAME);
session_start();
################################
# Error and Message System
################################
error_reporting(E_ALL & ~E_NOTICE);
//Turn the Messages and Logs and Erros ON
PhpBURN_Message::setMode(PhpBURN_Message::FIREBUG);
//You can Choose FIREPHP, BROWSER OR FILE for now than more can came latter
################################
# Internacionalization Settings
################################
setlocale(LC_ALL, 'en_US');
date_default_timezone_set('America/Sao_Paulo');
################################
# Modules
################################
# To load the module just remove the # comment from the line
# Views
PhpBURN::loadModule('View');
# Controller
PhpBURN::loadModule('Controller');
# To load the module just remove the # comment from the line
PhpBURN::loadModule('Model');
# Spices
PhpBURN::loadModule('Spices');