1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-20 21:42:23 +02:00

Upgrade ProcessWire installer (and related site profile files) to support specification of debug mode as one of the interactive installation options. Also updated some wording in various parts of the installer.

This commit is contained in:
Ryan Cramer
2019-07-05 11:35:25 -04:00
parent 562565ff42
commit 161d6fb737
11 changed files with 89 additions and 97 deletions

View File

@@ -4,14 +4,14 @@
* ProcessWire Configuration File
*
* Site-specific configuration for ProcessWire.
* This config.php file was generated by the ProcessExportProfile module.
* https://processwire.com/api/ref/config/
*
* Please see the file /wire/config.php which contains all configuration options you may
* specify here. Simply copy any of the configuration options from that file and paste
* them into this file in order to modify them.
*
* ProcessWire 3.x
* Copyright (C) 2018 by Ryan Cramer
* Copyright (C) 2019 by Ryan Cramer
*
* https://processwire.com
*
@@ -21,18 +21,6 @@ if(!defined("PROCESSWIRE")) die();
/*** SITE CONFIG *************************************************************************/
/**
* Enable debug mode?
*
* Debug mode causes additional info to appear for use during dev and debugging.
* This is almost always recommended for sites in development. However, you should
* always have this disabled for live/production sites.
*
* @var bool
*
*/
$config->debug = true;
$config->prependTemplateFile = '_init.php';
$config->appendTemplateFile = '_main.php';
$config->useMarkupRegions = true;

View File

@@ -11,6 +11,8 @@
*
*/
if(!defined("PROCESSWIRE")) die();
/** @var ProcessWire $wire */
/**