mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +02:00
Update to allow for Page objects to load pages (children, parent, etc.) that don't get cached when their load option specified cache=false. Also makes the 'parent' page lazy loading for Page objects, so that it doesn't load the parent Page until a $page->parent() call is requested. Updates for @apeisa / Avoine request.
This commit is contained in:
@@ -46,6 +46,9 @@ if(!defined("PROCESSWIRE")) die();
|
||||
* always have this disabled for live/production sites since it reveals more information
|
||||
* than is advisible for security.
|
||||
*
|
||||
* You may also set this to the constant `Config::debugVerbose` to enable verbose debug mode,
|
||||
* which uses more memory and time.
|
||||
*
|
||||
* #notes This enables debug mode for ALL requests. See the debugIf option for an alternative.
|
||||
*
|
||||
* @var bool
|
||||
|
Reference in New Issue
Block a user