updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
@@ -1260,7 +1260,7 @@ function archiver_get_extensions() {
|
||||
*/
|
||||
function archiver_get_archiver($file) {
|
||||
// Archivers can only work on local paths
|
||||
$filepath = drupal_realpath($file);
|
||||
$filepath = \Drupal::service('file_system')->realpath($file);
|
||||
if (!is_file($filepath)) {
|
||||
throw new Exception(t('Archivers can only operate on local files: %file not supported', ['%file' => $file]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user