mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
Merge branch '1.7' into php8
This commit is contained in:
@@ -425,6 +425,9 @@ class Install
|
||||
$this->doLog("[CREATE ENV] key: $key, new value: $value from example.");
|
||||
$newData[$key] = $value;
|
||||
}
|
||||
if ($key == 'CACHE_DRIVER') {
|
||||
$newData[$key] = 'redis';
|
||||
}
|
||||
if ($scene == 'install' || !file_exists($envFile)) {
|
||||
if ($key == 'APP_ENV') {
|
||||
$newData[$key] = 'production';
|
||||
|
||||
@@ -3,6 +3,8 @@ ini_set('error_reporting', E_ALL);
|
||||
ini_set('display_errors', 0);
|
||||
define('IN_NEXUS', true);
|
||||
define('NEXUS_START', microtime(true));
|
||||
require ROOT_PATH . 'include/globalfunctions.php';
|
||||
require ROOT_PATH . 'include/functions.php';
|
||||
require ROOT_PATH . 'vendor/autoload.php';
|
||||
require ROOT_PATH . 'nexus/Database/helpers.php';
|
||||
require ROOT_PATH . 'include/constants.php';
|
||||
|
||||
@@ -352,6 +352,7 @@ return array (
|
||||
'watermarkquality' => '85',
|
||||
'altthumbwidth' => '180',
|
||||
'altthumbheight' => '135',
|
||||
'download_support_passkey' => 'yes',
|
||||
),
|
||||
'advertisement' =>
|
||||
array (
|
||||
|
||||
Reference in New Issue
Block a user