Skip to content
Snippets Groups Projects
Commit 582cb9f8 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline#32361_impossibilite_de_charger_des_images_dans_le_gestionnaire' into 'stable'

Hotline#32361 impossibilite de charger des images dans le gestionnaire

See merge request !1222
parents 4ce80eeb ac2d59af
Branches
Tags
4 merge requests!1267Master,!1225Master,!1224Hotline master,!1223Stable
- ticket #32361 : Impossibilité de charger des images dans le gestionnaire
\ No newline at end of file
......@@ -30,7 +30,11 @@ function auth() {
require_once($base_path . 'cosmogramme/storm_init.php');
setupSession();
return (new Class_FileManager())->isAuthorized($_GET['path']);
$path = array_key_exists('path', $_GET) ? $_GET['path'] : '';
$path = array_key_exists('currentpath', $_POST) ? $_POST['currentpath'] : $path;
return (new Class_FileManager())->isAuthorized($path);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment