Commit | Line | Data |
---|---|---|
158bd3ca | 1 | <?php |
a9229942 | 2 | |
158bd3ca | 3 | /** |
e3369fd2 | 4 | * Default options.inc.php for package installation of package com.woltlab.wcf. |
a9229942 TD |
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> | |
158bd3ca | 9 | */ |
a9229942 | 10 | |
82d72850 TD |
11 | // phpcs:disable PSR1.Files.SideEffects |
12 | ||
a9229942 | 13 | \define('LAST_UPDATE_TIME', TIME_NOW); |
ea820340 | 14 | |
8f741dd5 | 15 | $prefix = 'wsc_'; |
a9229942 TD |
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 | ||
a9229942 TD |
22 | \define('CACHE_SOURCE_TYPE', 'disk'); |
23 | \define('IMAGE_ADAPTER_TYPE', 'gd'); | |
2213ecea | 24 | \define('TIMEZONE', 'UTC'); |
a9229942 TD |
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); | |
ccdc9a24 | 31 | } |
a9229942 | 32 | \define('EXTERNAL_LINK_TARGET_BLANK', 0); |
a9229942 TD |
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); |