4b585890fb75cd1c4439b2d8a691f95d4e8b6dee
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / options.inc.php
1 <?php
2
3 /**
4 * Default options.inc.php for package installation of package com.woltlab.wcf.
5 *
6 * @author Marcel Werk
7 * @copyright 2001-2019 WoltLab GmbH
8 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
9 */
10
11 // phpcs:disable PSR1.Files.SideEffects
12
13 \define('LAST_UPDATE_TIME', TIME_NOW);
14
15 $prefix = 'wsc_';
16 if (\file_exists(WCF_DIR . 'cookiePrefix.txt')) {
17 // randomized cookie prefix during setup
18 $prefix = \file_get_contents(WCF_DIR . 'cookiePrefix.txt');
19 }
20 \define('COOKIE_PREFIX', $prefix);
21
22 \define('CACHE_SOURCE_TYPE', 'disk');
23 \define('IMAGE_ADAPTER_TYPE', 'gd');
24 \define('TIMEZONE', 'UTC');
25
26 \define('ENABLE_DEBUG_MODE', 1);
27 \define('ENABLE_PRODUCTION_DEBUG_MODE', 1);
28 \define('ENABLE_BENCHMARK', 0);
29 if (!\defined('ENABLE_ENTERPRISE_MODE')) {
30 \define('ENABLE_ENTERPRISE_MODE', 0);
31 }
32 \define('EXTERNAL_LINK_TARGET_BLANK', 0);
33 \define('SEARCH_ENGINE', 'mysql');
34 \define('SHOW_VERSION_NUMBER', 1);
35 \define('LANGUAGE_USE_INFORMAL_VARIANT', 0);
36 \define('URL_OMIT_INDEX_PHP', 0);
37 \define('VISITOR_USE_TINY_BUILD', 0);
38 \define('ENABLE_DEVELOPER_TOOLS', 0);
39 \define('LOG_MISSING_LANGUAGE_ITEMS', 0);
40 \define('FORCE_LOGIN', 0);
41
42 \define('WCF_OPTION_INC_PHP_SUCCESS', true);