コード例 #1
0
ファイル: migrations.php プロジェクト: nadams810/kritbit
<?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();