diff --git a/fonctions.php b/fonctions.php index 06ec5fd..6e412b2 100644 --- a/fonctions.php +++ b/fonctions.php @@ -184,7 +184,7 @@ function isSecurePath($path) { return $realPath && ( (strpos($realPath, $rootPath) === 0) || - ($carouselPath && $realPath === $carouselPath) + ($carouselPath && strpos($realPath, $carouselPath) === 0) ); } diff --git a/version.txt b/version.txt index 337a6a8..e5a4a5e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.8 \ No newline at end of file +1.0.9 \ No newline at end of file