172 lines
No EOL
4.6 KiB
PHP
172 lines
No EOL
4.6 KiB
PHP
<?php namespace ProcessWire;
|
|
|
|
/**
|
|
* ProcessWire Configuration File
|
|
*
|
|
* Site-specific configuration for ProcessWire
|
|
*
|
|
* 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.
|
|
*
|
|
* SECURITY NOTICE
|
|
* In non-dedicated environments, you should lock down the permissions of this file so
|
|
* that it cannot be seen by other users on the system. For more information, please
|
|
* see the config.php section at: https://processwire.com/docs/security/file-permissions/
|
|
*
|
|
* This file is licensed under the MIT license
|
|
* https://processwire.com/about/license/mit/
|
|
*
|
|
* ProcessWire 3.x, Copyright 2019 by Ryan Cramer
|
|
* https://processwire.com
|
|
*
|
|
*/
|
|
|
|
if(!defined("PROCESSWIRE")) die();
|
|
|
|
/*** SITE CONFIG *************************************************************************/
|
|
|
|
/** @var Config $config */
|
|
|
|
/**
|
|
* Allow core API variables to also be accessed as functions?
|
|
*
|
|
* Recommended. This enables API varibles like $pages to also be accessed as pages(),
|
|
* as an example. And so on for most other core variables.
|
|
*
|
|
* 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 = true;
|
|
|
|
|
|
/*** INSTALLER CONFIG ********************************************************************/
|
|
|
|
|
|
/**
|
|
* Installer: Database Configuration
|
|
*
|
|
*/
|
|
$config->dbHost = 'localhost';
|
|
$config->dbName = 'db_praiadeseselle';
|
|
$config->dbUser = 'admin_aldara';
|
|
$config->dbPass = 'SQbTp2MbdMEn8SLV5Cr';
|
|
$config->dbPort = '3306';
|
|
$config->dbCharset = 'utf8mb4';
|
|
|
|
/**
|
|
* Installer: User Authentication Salt
|
|
*
|
|
* This value was randomly generated for your system on 2022/03/08.
|
|
* This should be kept as private as a password and never stored in the database.
|
|
* Must be retained if you migrate your site from one server to another.
|
|
* Do not change this value, or user passwords will no longer work.
|
|
*
|
|
*/
|
|
$config->userAuthSalt = '9ad1e36d57b37e4156dd543423fd5374e51c4201';
|
|
|
|
/**
|
|
* Installer: Table Salt (General Purpose)
|
|
*
|
|
* Use this rather than userAuthSalt when a hashing salt is needed for non user
|
|
* authentication purposes. Like with userAuthSalt, you should never change
|
|
* this value or it may break internal system comparisons that use it.
|
|
*
|
|
*/
|
|
$config->tableSalt = '2a93d08392e7e35dc8063cd620e3bcca2e5413a3';
|
|
|
|
/**
|
|
* Installer: File Permission Configuration
|
|
*
|
|
*/
|
|
$config->chmodDir = '2775'; // permission for directories created by ProcessWire
|
|
$config->chmodFile = '0664'; // permission for files created by ProcessWire
|
|
|
|
/**
|
|
* Installer: Time zone setting
|
|
*
|
|
*/
|
|
$config->timezone = 'Europe/Madrid';
|
|
|
|
/**
|
|
* Installer: Admin theme
|
|
*
|
|
*/
|
|
$config->defaultAdminTheme = 'AdminThemeUikit';
|
|
|
|
/**
|
|
* Installer: Unix timestamp of date/time installed
|
|
*
|
|
* This is used to detect which when certain behaviors must be backwards compatible.
|
|
* Please leave this value as-is.
|
|
*
|
|
*/
|
|
$config->installed = 1646741669;
|
|
|
|
|
|
/**
|
|
* Installer: HTTP Hosts Whitelist
|
|
*
|
|
*/
|
|
$config->httpHosts = array('php.artabro.localhost');
|
|
|
|
|
|
/**
|
|
* Installer: Debug mode?
|
|
*
|
|
* When debug mode is true, errors and exceptions are visible.
|
|
* When false, they are not visible except to superuser and in logs.
|
|
* Should be true for development sites and false for live/production sites.
|
|
*
|
|
*/
|
|
$config->debug = false;
|
|
|
|
/**
|
|
* Session name
|
|
*
|
|
* Default session name as used in session cookie. You may wish to change this if running
|
|
* multiple ProcessWire installations on the same server. By giving each installation a unique
|
|
* session name, you can stay logged into multiple installations at once.
|
|
*
|
|
* #notes Note that changing this will automatically logout any current sessions.
|
|
* @var string
|
|
*
|
|
*/
|
|
$config->sessionName = 'praiadeseselle';
|
|
|
|
/**
|
|
* Prepend template file
|
|
*
|
|
* PHP file in /site/templates/ that will be loaded before each page's template file.
|
|
*
|
|
* #notes Example: _init.php
|
|
* @var string
|
|
*
|
|
*/
|
|
$config->prependTemplateFile = '_init.php';
|
|
|
|
/**
|
|
* Append template file
|
|
*
|
|
* PHP file in /site/templates/ that will be loaded after each page's template file.
|
|
*
|
|
* #notes Example: _main.php
|
|
* @var string
|
|
*
|
|
*/
|
|
$config->appendTemplateFile = '_main.php';
|
|
|
|
/**
|
|
* X-Powered-By header behavior
|
|
*
|
|
* - true: Sends the generic PW header, replacing any other powered-by headers (recommended).
|
|
* - false: Sends blank powered-by, replacing any other powered-by headers.
|
|
* - null: Sends no powered-by, existing server powered-by headers will pass through.
|
|
*
|
|
* @var bool|null
|
|
*
|
|
*/
|
|
$config->usePoweredBy = null; |