fixing autoload and hf_core rename in index.php

This commit is contained in:
Nathan Adams 2016-12-28 23:11:38 -06:00
parent f08b2987e1
commit 52c24a84c0

View File

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