19 行
505 B
PHP
19 行
505 B
PHP
<?php
|
||
|
||
/**
|
||
* 汇付插件安装验证(CLI 包装)
|
||
* 用法: php addons/shopro_huifu/tests/verify_install.php
|
||
* 或: php think shopro_huifu:verify
|
||
*/
|
||
|
||
define('APP_PATH', dirname(__DIR__, 3) . '/application/');
|
||
define('ROOT_PATH', dirname(__DIR__, 3) . '/');
|
||
|
||
require ROOT_PATH . 'thinkphp/base.php';
|
||
\think\App::initCommon();
|
||
|
||
$input = new think\console\Input([]);
|
||
$output = new think\console\Output();
|
||
$command = new \addons\shopro_huifu\command\VerifyInstall();
|
||
$command->run($input, $output);
|