From 7b4c8cf00055020c41e496bcb43ccc02562a1276 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 11 Apr 2018 11:27:27 +0200 Subject: [PATCH] append cd=no to fix redirect of standard template --- filemanager/test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filemanager/test.php b/filemanager/test.php index 1423b9914e..416e2edaac 100644 --- a/filemanager/test.php +++ b/filemanager/test.php @@ -38,7 +38,7 @@ if (isset($path) && !empty($path)) foreach(explode('/',$path) as $n => $part) { $p .= ($p != '/' ? '/' : '').$part; - echo ($n > 1 ? ' / ' : '').Api\Html::a_href($n ? $part : ' / ','/filemanager/test.php',array('path'=>$p)); + echo ($n > 1 ? ' / ' : '').Api\Html::a_href($n ? $part : ' / ','/filemanager/test.php',array('path'=>$p,'cd'=>'no')); } echo "\n"; @@ -61,7 +61,7 @@ if (isset($path) && !empty($path)) { if (Vfs::is_readable($fpath=Vfs::concat($path,$file))) { - $file = Api\Html::a_href($file,'/filemanager/test.php',array('path'=>$fpath)); + $file = Api\Html::a_href($file,'/filemanager/test.php',array('path'=>$fpath,'cd'=>'no')); } $file .= ' ('.Vfs::mime_content_type($fpath).')'; $files[] = $file;