Heim >Backend-Entwicklung >PHP-Tutorial >yii2 requirements.php 文件

yii2 requirements.php 文件

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:46:091279Durchsuche

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


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

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


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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn