fixing autoload and hf_core rename in index.php

master
Nathan Adams 2016-12-28 23:11:38 -06:00
parent f08b2987e1
commit 52c24a84c0
1 changed files with 4 additions and 1 deletions

View File

@ -1,11 +1,14 @@
<?php
spl_autoload_extensions(".php"); // comma-separated list
spl_autoload_register();
foreach (glob("system/vendor/*.php") as $filename)
{
include $filename;
}
require('system/engine/core.php');
require('system/engine/hf_core.php');
$core = new HF_Core();
$core->run();