explorer de fichier
This commit is contained in:
parent
2aff9d641b
commit
936b6810b0
|
@ -48,10 +48,9 @@ class FileController extends Controller
|
|||
// Récupérer en session le mode de visualisation
|
||||
$sessionviewdirectory = $this->get('session')->get('sessionviewdirectory');
|
||||
if(!is_array($sessionviewdirectory)) $sessionviewdirectory=[$directory=>$defaultview];
|
||||
if($view) {
|
||||
if($view)
|
||||
$sessionviewdirectory[$directory] = $view;
|
||||
$this->get('session')->set('sessionviewdirectory',$sessionviewdirectory);
|
||||
}
|
||||
|
||||
|
||||
// Construire le chemin réel
|
||||
|
|
Loading…
Reference in New Issue