Skip to content
Snippets Groups Projects

Hotline master

Merged Patrick Barroca requested to merge hotline-master into master
Compare and
+ 11
2
Preferences
Compare changes
Files
@@ -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);
}