Skip to content

Commit

Permalink
Fixed a bug where Filemanager always looked for items in the publich_…
Browse files Browse the repository at this point in the history
…html/images/library/Image directory
  • Loading branch information
mystralkk committed Jan 23, 2017
1 parent cfba0da commit dae1ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_html/filemanager/index.php
Expand Up @@ -8,7 +8,7 @@
// | |
// | Filemanager browser |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2014-2016 by the following authors: |
// | Copyright (C) 2014-2017 by the following authors: |
// | |
// | Authors: Riaan Los - mail AT riaanlos DOT nl |
// | Simon Georget - simon AT linea21 DOT com |
Expand Down Expand Up @@ -234,7 +234,7 @@
'Root' => $rootPath,
);

$type = Geeklog\Input::fGet('type', '');
$type = Geeklog\Input::fGet('Type', '');

if (!array_key_exists($type, $relPaths)) {
$type = 'Image';
Expand Down

0 comments on commit dae1ed6

Please sign in to comment.