diff --git a/config/firefly.php b/config/firefly.php index 4564509448..61c225f612 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -32,7 +32,7 @@ return [ 'single_user_mode' => true, 'is_demo_site' => false, ], - 'encryption' => (is_null(env('USE_ENCRYPTION')) || env('USE_ENCRYPTION') === true), + 'encryption' => is_null(env('USE_ENCRYPTION')) || env('USE_ENCRYPTION') === true, 'version' => '4.7.1.4', 'api_version' => '0.1', 'db_version' => 2, diff --git a/config/logging.php b/config/logging.php index 7f4e851d5d..ca24db1b5e 100644 --- a/config/logging.php +++ b/config/logging.php @@ -64,13 +64,13 @@ return [ 'daily' => [ 'driver' => 'daily', - 'path' => storage_path('logs/ff3-' . php_sapi_name() . '.log'), + 'path' => storage_path('logs/ff3-' . PHP_SAPI . '.log'), 'level' => env('APP_LOG_LEVEL', 'info'), 'days' => 7, ], 'dailytest' => [ 'driver' => 'daily', - 'path' => storage_path('logs/test-ff3-' . php_sapi_name() . '.log'), + 'path' => storage_path('logs/test-ff3-' . PHP_SAPI . '.log'), 'level' => env('APP_LOG_LEVEL', 'info'), 'days' => 7, ], diff --git a/config/mail.php b/config/mail.php index 642a58be96..fb87f15799 100644 --- a/config/mail.php +++ b/config/mail.php @@ -38,7 +38,7 @@ return [ | */ - 'driver' => env('MAIL_DRIVER', 'smtp'), + 'driver' => env('MAIL_DRIVER', 'log'), /* |--------------------------------------------------------------------------