Skip to content
Snippets Groups Projects
Commit d5231c0f authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

3thd hotfix for updater -> update parameter

parent b381cf15
Branches
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ if (isset($_GET["updateVBcms"])&&!empty($_GET["updateVBcms"])) {
$foundFolder = false;
foreach($subfolder as $file){
if (( $file != '.' ) && ( $file != '..' )){
if(file_exists($updateFolder."/".$file."/index.php")){
if(file_exists($updateFolder."/".$file."/index.php?update")){
$foundFolder = true;
$updateFolder = $updateFolder."/".$file; // À ce compte là il ne faut pas qu'il y ai 2 dossiers avec des index.php
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment