zhamao-framework/src/entry.php

9 lines
248 B
PHP

<?php
declare(strict_types=1);
/** @noinspection PhpIncludeInspection */
require_once((!is_dir(__DIR__ . '/../vendor')) ? getcwd() : (__DIR__ . '/..')) . '/vendor/autoload.php';
(new ZM\ConsoleApplication('zhamao-framework'))->initEnv()->run();