Commit 4b35ca03 authored by a.klapper's avatar a.klapper

add defined check for FTP_BINARY

parent b3a68675
Pipeline #83464 passed with stages
in 3 minutes and 46 seconds
......@@ -286,7 +286,7 @@ $common = [
'ssl' => getenv('FTP_BUCKET_SSL') ?: 0,
'passive' => 1,
'timeout' => 10,
'transferMode' => FTP_BINARY,
'transferMode' => defined("FTP_BINARY") ? FTP_BINARY : null,
'enableTimestampsOnUnixListings' => true
],
'i18n' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment