fixing autoload and hf_core rename in index.php
This commit is contained in:
parent
f08b2987e1
commit
52c24a84c0
@ -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();
|
Loading…
Reference in New Issue
Block a user