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