Merge pull request #2759 from derpierre65/patch-4
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / options.inc.php
1 <?php
2 /**
3 * Default options.inc.php for package installation of package com.woltlab.wcf.
4 *
5 * @author Marcel Werk
6 * @copyright 2001-2018 WoltLab GmbH
7 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
8 */
9 define('LAST_UPDATE_TIME', TIME_NOW);
10
11 $prefix = 'wsc31_';
12 if (file_exists(WCF_DIR . 'cookiePrefix.txt')) {
13 // randomized cookie prefix during setup
14 $prefix = file_get_contents(WCF_DIR . 'cookiePrefix.txt');
15 }
16 define('COOKIE_PREFIX', $prefix);
17
18 define('COOKIE_PATH', '');
19 define('COOKIE_DOMAIN', '');
20
21 define('HTTP_ENABLE_GZIP', 0);
22 define('HTTP_GZIP_LEVEL', 1);
23 define('HTTP_SEND_X_FRAME_OPTIONS', 0);
24
25 define('BLACKLIST_IP_ADDRESSES', '');
26 define('BLACKLIST_USER_AGENTS', '');
27 define('BLACKLIST_HOSTNAMES', '');
28
29 define('SESSION_TIMEOUT', 3600);
30 define('SESSION_VALIDATE_IP_ADDRESS', 0);
31 define('SESSION_VALIDATE_USER_AGENT', 0);
32
33 define('CACHE_SOURCE_TYPE', 'disk');
34 define('IMAGE_ADAPTER_TYPE', 'gd');
35 define('MODULE_MASTER_PASSWORD', 0);
36 define('TIMEZONE', 'Europe/Berlin');
37
38 define('ENABLE_DEBUG_MODE', 1);
39 define('ENABLE_BENCHMARK', 0);
40 define('EXTERNAL_LINK_TARGET_BLANK', 0);
41 define('URL_LEGACY_MODE', 0);
42 define('URL_TO_LOWERCASE', 1);
43 define('SEARCH_ENGINE', 'mysql');
44 define('SHOW_VERSION_NUMBER', 1);
45 define('LANGUAGE_USE_INFORMAL_VARIANT', 0);
46 define('URL_OMIT_INDEX_PHP', 0);
47 define('VISITOR_USE_TINY_BUILD', 0);
48 define('ENABLE_DEVELOPER_TOOLS', 0);
49 define('FORCE_LOGIN', 0);
50
51 define('WCF_OPTION_INC_PHP_SUCCESS', true);