Loading INSTALL.txt +7 −7 Original line number Diff line number Diff line Loading @@ -72,15 +72,15 @@ DRUSH USERS To automatically enable stage_file_proxy on your dev machine after sql-sync, add the following to your dev site alias file: $aliases['dev'] = array ( $aliases['dev'] = [ 'root' => '/path/to/drupalroot', 'uri' => 'http://example.org', 'target-command-specific' => array( 'sql-sync' => array( 'enable' => array('stage_file_proxy'), ), ), ); 'target-command-specific' => [ 'sql-sync' => [ 'enable' => ['stage_file_proxy'], ], ], ]; In order for this to work, you must copy the file drush/examples/sync_enable.drush.inc to your ~/.drush folder. Loading src/Form/SettingsForm.php +2 −2 Original line number Diff line number Diff line Loading @@ -41,13 +41,13 @@ class SettingsForm extends ConfigFormBase { '#required' => FALSE, ]; $form['verify'] = array( $form['verify'] = [ '#type' => 'checkbox', '#title' => t('Verify SSL.'), '#default_value' => $config->get('verify'), '#description' => t('If this is true (default) then the request will be done by doing the SSL verification if the origin is using https.'), '#required' => FALSE, ); ]; $stage_file_proxy_origin_dir = $config->get('origin_dir'); if (!$stage_file_proxy_origin_dir) { Loading src/EventSubscriber/ProxySubscriber.php +3 −3 File changed.Contains only whitespace changes. Show changes Loading
INSTALL.txt +7 −7 Original line number Diff line number Diff line Loading @@ -72,15 +72,15 @@ DRUSH USERS To automatically enable stage_file_proxy on your dev machine after sql-sync, add the following to your dev site alias file: $aliases['dev'] = array ( $aliases['dev'] = [ 'root' => '/path/to/drupalroot', 'uri' => 'http://example.org', 'target-command-specific' => array( 'sql-sync' => array( 'enable' => array('stage_file_proxy'), ), ), ); 'target-command-specific' => [ 'sql-sync' => [ 'enable' => ['stage_file_proxy'], ], ], ]; In order for this to work, you must copy the file drush/examples/sync_enable.drush.inc to your ~/.drush folder. Loading
src/Form/SettingsForm.php +2 −2 Original line number Diff line number Diff line Loading @@ -41,13 +41,13 @@ class SettingsForm extends ConfigFormBase { '#required' => FALSE, ]; $form['verify'] = array( $form['verify'] = [ '#type' => 'checkbox', '#title' => t('Verify SSL.'), '#default_value' => $config->get('verify'), '#description' => t('If this is true (default) then the request will be done by doing the SSL verification if the origin is using https.'), '#required' => FALSE, ); ]; $stage_file_proxy_origin_dir = $config->get('origin_dir'); if (!$stage_file_proxy_origin_dir) { Loading
src/EventSubscriber/ProxySubscriber.php +3 −3 File changed.Contains only whitespace changes. Show changes