Home >Backend Development >PHP Tutorial >yii2 requirements.php 文件

yii2 requirements.php 文件

WBOY
WBOYOriginal
2016-06-23 13:46:091251browse

yii-basic-app-2.0.0\basic
requirements.php 文件


程序必要条件检查脚本。
检查框架目录
如果不存在报错误信息
if (!is_dir($frameworkPath)) {

引入检查类
require_once($frameworkPath . '/requirements/YiiRequirementChecker.php');


定义,数据库,缓存等插件的信息
用检查类检查并绘制出来。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn