18 lines
311 B
PHP
18 lines
311 B
PHP
<?php
|
|
|
|
|
|
|
|
spl_autoload_extensions(".php"); // comma-separated list
|
|
spl_autoload_register();
|
|
|
|
foreach (glob("system/vendor/*.php") as $filename)
|
|
{
|
|
include $filename;
|
|
}
|
|
|
|
if (!is_cli()) {
|
|
die("This script must be ran from the command line");
|
|
}
|
|
|
|
$core = new \system\engine\HF_Core(true);
|
|
$core->runMigrations(); |