diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-16 21:10:14 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-16 21:10:14 +0200 |
commit | 81c23b02da5eff64a769e3b683a2e581775c49e7 (patch) | |
tree | 8f38a18e8755011e5acb5135901d09047b9f472c /lib/private/files.php | |
parent | 2bda3f9ae0893e94bd07a9c8916adcf06aa4a597 (diff) | |
download | nextcloud-server-81c23b02da5eff64a769e3b683a2e581775c49e7.tar.gz nextcloud-server-81c23b02da5eff64a769e3b683a2e581775c49e7.zip |
Link to previous directory
Diffstat (limited to 'lib/private/files.php')
-rw-r--r-- | lib/private/files.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files.php b/lib/private/files.php index e6135c4329f..152595ba697 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -231,7 +231,7 @@ class OC_Files { OC_Template::printErrorPage( $l->t('ZIP download is turned off.'), $l->t('Files need to be downloaded one by one.') - . '<br/><a href="'.OCP\Util::linkTo('files', '').'">' . $l->t('Back to Files') . '</a>' + . '<br/><a href="'.OCP\Util::linkTo('files', 'index.php', array('dir' => $dir)).'">' . $l->t('Back to Files') . '</a>' ); exit; } @@ -258,7 +258,7 @@ class OC_Files { OC_Template::printErrorPage( $l->t('Selected files too large to generate zip file.'), $l->t('Please download the files separately in smaller chunks or kindly ask your administrator.') - . '<br/><a href="'.OCP\Util::linkTo('files', '').'">' . $l->t('Back to Files') . '</a>' + . '<br/><a href="'.OCP\Util::linkTo('files', 'index.php', array('dir' => $dir)).'">' . $l->t('Back to Files') . '</a>' ); exit; } |