<?php
/*
Bee-rain-ui
Copyright (C) 2008-2009 Mathieu Lory <hide@address.com>
This file is part of Bee-rain-ui.
Bee-rain-ui is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Bee-rain-ui is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Bee-rain-ui. If not, see <http://www.gnu.org/licenses/>.
Project started on 2008-11-22 with help from Serg Podtynnyi
<hide@address.com>
*/
require_once('./_global_settings.php');
function __autoload($class_name)
{
require_once './include/' . strtolower($class_name) . '.class.php';
if ( defined(DEBUG) && DEBUG == true )
{
Debug::Log('Class "'.$class_name. '" loaded !', NOTICE);
}
}
date_default_timezone_set("Europe/Paris");
Server::Normalize();
User::$current = Session::Start();
I18n::load();
?>