mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 08:17:12 +02:00
A few phpdoc updates in config.php
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
*
|
||||
* @property bool $advanced Special mode for ProcessWire system development. Not recommended for regular site development or production use. #pw-group-system
|
||||
* @property bool $demo Special mode for demonstration use that causes POST requests to be disabled. Applies to core, but may not be safe with 3rd party modules. #pw-group-system
|
||||
* @property bool|int $debug Special mode for use when debugging or developing a site. Recommended TRUE when site is in development and FALSE when not. Or set to Config::debugVerbose for verbose debug mode. #pw-group-system
|
||||
* @property string $debugIf Enable debug mode if condition is met #pw-group-system
|
||||
* @property bool|int|string $debug Special mode for use when debugging or developing a site. Recommended TRUE when site is in development and FALSE when not. Or set to `Config::debug*` constant. #pw-group-system
|
||||
* @property string|callable|array $debugIf Enable debug mode if condition is met. One of IP address to match, regex to match IP, array of IPs to match, or callable function that returns true|false. #pw-group-system
|
||||
* @property array $debugTools Tools, and their order, to show in debug mode (admin) #pw-group-system
|
||||
*
|
||||
* @property string $ignoreTemplateFileRegex Regular expression to ignore template files #pw-group-template-files
|
||||
@@ -202,6 +202,12 @@ class Config extends WireData {
|
||||
*/
|
||||
const debugVerbose = 2;
|
||||
|
||||
/**
|
||||
* Constant for core development debug mode (makes it use newer JS libraries in some cases)
|
||||
*
|
||||
*/
|
||||
const debugDev = 'dev';
|
||||
|
||||
/**
|
||||
* Get config property
|
||||
*
|
||||
|
Reference in New Issue
Block a user