mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 03:34:33 +02:00
Various updates primarily related to functions API and profiler support.
This commit is contained in:
@@ -111,9 +111,22 @@ $config->advanced = false;
|
||||
*
|
||||
* If true, disables save functions in Process modules (admin).
|
||||
*
|
||||
* @var bool
|
||||
*
|
||||
*/
|
||||
$config->demo = false;
|
||||
|
||||
/**
|
||||
* Enable core API variables to be accessed as function calls?
|
||||
*
|
||||
* Benefits are better type hinting, always in scope, and potentially shorter API calls.
|
||||
* See the file /wire/core/FunctionsAPI.php for details on these functions.
|
||||
*
|
||||
* @var bool
|
||||
*
|
||||
*/
|
||||
$config->useFunctionsAPI = false;
|
||||
|
||||
|
||||
/*** 2. DATES & TIMES *************************************************************************/
|
||||
|
||||
|
Reference in New Issue
Block a user