<?php
if (isset($_POST['ses']))
    session_id($_POST['ses']);
session_start();

include 'system/config/config.php';
ini_set('display_errors', DEBUG);
date_default_timezone_set(DEFAULT_TIMEZONE);
set_time_limit(TIMEOUT);

include 'system/core/core.php';
core::init();
core::start();