@ -2,5 +2,5 @@
/_ __/_ ______ ___ / __ \/ / / / __ \ / ____/___ ____ ___ ____ (_) /__ _____
/ / / / / / __ \/ _ \/ /_/ / /_/ / /_/ / / / / __ \/ __ `__ \/ __ \/ / / _ \/ ___/
/ / / /_/ / /_/ / __/ ____/ __ / ____/ / /___/ /_/ / / / / / / /_/ / / / __/ /
/_/ \__, / .___/\___/_/ /_/ /_/_/ \____/\____/_/ /_/ /_/ .___/_/_/\___/_/
/____/_/ /_/ v%s
/_/ \__, / .___/\___/_/ /_/ /_/_/ \____/\____/_/ /_/ /_/ .___/_/_/\___/_/ v%s
/____/_/ /_/ %s
@ -2,6 +2,7 @@
define("ROOT_PATH", dirname(__DIR__));
define('DEBUG', true);
define('VERSION', '0.4.1');
define('WEBSITE', 'https://www.swoole.com/aot/');
require ROOT_PATH . '/vendor/autoload.php';
require ROOT_PATH . '/src/functions.php';
@ -5,7 +5,7 @@ require __DIR__ . '/../src/polyfills.php';
require __DIR__ . '/../src/gen_stub.php';
require __DIR__ . '/../src/compiler.php';
echo sprintf(file_get_contents(ROOT_PATH . '/TypePHP.txt'), VERSION) . PHP_EOL;
echo sprintf(file_get_contents(ROOT_PATH . "/TypePHP.txt"), VERSION, WEBSITE) . PHP_EOL;
const TYPEPHP_PHP_SCRIPT_ENTRY = true;
main($argc, $argv);