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

yii2 requirements.php 文件

WBOY
Release: 2016-06-23 13:46:09
Original
1224 people have browsed it

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


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

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


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template