Commit cd3b09a65f0d50de43722df5c0c8ba45e870509d
1 parent
21f99d0f
Exists in
master
and in
7 other branches
Correção na opção "todos"
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
geraminiatura.php
... | ... | @@ -75,14 +75,14 @@ foreach ($arqs["arquivos"] as $arq) |
75 | 75 | if($temp[(count($temp) - 1)] == "map") |
76 | 76 | { |
77 | 77 | if($tipo == "mini" || $tipo == "todos") |
78 | - {if(!file_exists('temas/miniaturas/'.$arq.'.mini.png')){echo "<br>".$arq."<br>";verifica($arq);}} | |
78 | + {if(!file_exists('temas/miniaturas/'.$arq.'.mini.png')){echo "<br>".$arq."<br>";verifica($arq,"mini");}} | |
79 | 79 | if($tipo == "grande" || $tipo == "todos") |
80 | - {if(!file_exists('temas/miniaturas/'.$arq.'.grande.png')){echo "<br>".$arq."<br>";verifica($arq);}} | |
80 | + {if(!file_exists('temas/miniaturas/'.$arq.'.grande.png')){echo "<br>".$arq."<br>";verifica($arq,"grande");}} | |
81 | 81 | } |
82 | 82 | } |
83 | -function verifica($map) | |
83 | +function verifica($map,$tipo) | |
84 | 84 | { |
85 | - global $tipo,$locaplic; | |
85 | + global $locaplic; | |
86 | 86 | ms_ResetErrorList(); |
87 | 87 | $tema = ""; |
88 | 88 | $map = str_replace("\\","/",$map); | ... | ... |