diff --git a/VERSIONS_HOTLINE/32361 b/VERSIONS_HOTLINE/32361 new file mode 100644 index 0000000000000000000000000000000000000000..90da1393a671265845c8ed0175798b22e3bf1aac --- /dev/null +++ b/VERSIONS_HOTLINE/32361 @@ -0,0 +1 @@ + - ticket #32361 : Impossibilité de charger des images dans le gestionnaire \ No newline at end of file diff --git a/ckeditor/core_five_filemanager/connectors/php/filemanager.config.php b/ckeditor/core_five_filemanager/connectors/php/filemanager.config.php index 3f6b28cd96927a1dca7b32b196c178463f96ff30..8fa83280b535e9949e4e77899614a03b7ddda085 100644 --- a/ckeditor/core_five_filemanager/connectors/php/filemanager.config.php +++ b/ckeditor/core_five_filemanager/connectors/php/filemanager.config.php @@ -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); }