<?php
session_start();
require_once 'core/autoload/autoload.php';
// Web Configurations
Configuration::set([
'Title' => 'Le Yerf',
'Description' => null
]);
// MySQL Settings
Configuration::set('MySQL', [
'Hostname' => '127.0.0.1',
'Username' => 'root',
'Password' => '',
'Database' => 'login'
]);
Configuration::set('AllowParse', true);
if(is_bool(Configuration::get('AllowParse')) && Configuration::get('AllowParse') == true) Template::allowParse(true);
User::$UserIP = trim($_SERVER['REMOTE_ADDR']);
Restriction::InitializeIPRestriction(User::getBannedIPs(), User::$UserIP);
?>
|