Commit 6c1e046c authored by Tobias Bähr's avatar Tobias Bähr Committed by Stephen Mustgrave
Browse files

Issue #3396633: Proxy does not work anymore with a empty origin_dir config

parent 92d70087
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ class ProxySubscriber implements EventSubscriberInterface {
    // system path, and defaults to the local public file system path.
    $origin_dir = $config->get('origin_dir') ?? '';
    $remote_file_dir = trim($origin_dir);
    if (!empty($remote_file_dir)) {
    if ($remote_file_dir === '') {
      $remote_file_dir = $file_dir;
    }

+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ class StageFileProxySubscriber implements EventSubscriberInterface {
    // system path, and defaults to the local public file system path.
    $origin_dir = $config->get('origin_dir') ?? '';
    $remote_file_dir = trim($origin_dir);
    if (!empty($remote_file_dir)) {
    if ($remote_file_dir === '') {
      $remote_file_dir = $file_dir;
    }