<?php
/**
* FileText
*
* @package FileText
* @subpackage Settings
*
* @author Thiago Arcanjo <thiago@thiagoarcanjo.com.br>
* @version 2.0.0
*
* @ignore Config file
*/
// Modo DEBUG - umcomment rows below
//ini_set('error_reporting', E_ALL);
//ini_set('display_errors',1);
// LANGUAGE
defined('LANGUAGE') || define('LANGUAGE','pt-br');
// PATHS
defined('PAGES_TPL') || define('PAGES_TPL','view/');
defined('FOLDER_LANGUAGES') || define('FOLDER_LANGUAGES','languages/');
defined('FOLDER_CLASS') || define('FOLDER_CLASS','classes/');
// AUTOLOAD Function - Load functions
function __autoload($className){
$file_name = $className.'.class.php';
if(file_exists(FOLDER_CLASS.$file_name))
require_once(FOLDER_CLASS.$file_name);
else
exit('Class '.$className.' not found!');
}
?>
|