ThinkPHP/Extend/Tool/Requirements-Checkerchecker.php

Requirements Checker: This script will check if your system meets the requirements for running ThinkPHP Framework.

This file is part of the ThinkPHP Framework 参考了nette框架(http://nette.org)

For the full copyright and license information, please view the file license.txt that was distributed with this source code.

Constants

TEMPLATE_FILE

TEMPLATE_FILE = __DIR__ . '/assets/checker.phtml'

Check assets目录, 模板文件必须可读

CHECKER_VERSION

CHECKER_VERSION = '1.0'

Check ThinkPHP Framework requirements.

Functions

paint()

paint(  $requirements) : void

Paints checker.

Parameters

$requirements

iniFlag()

iniFlag(  $var) : boolean

获取配置项的布尔值.

Parameters

$var

Returns

boolean