mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix contatore aggiornamento
This commit is contained in:
parent
07c098deb3
commit
e7a889a9db
@ -202,7 +202,7 @@ if (filter('action') == 'do_update') {
|
||||
|
||||
foreach ($updates as $update) {
|
||||
if ($update['sql'] && (!empty($update['done']) || is_null($update['done']))) {
|
||||
$queries = readSQLFile(base_dir().$update['directory'].$update['filename'].'.sql', ';');
|
||||
$queries = readSQLFile(base_dir().'/'.$update['directory'].$update['filename'].'.sql', ';');
|
||||
$total += count($queries);
|
||||
|
||||
if (intval($update['done']) > 1) {
|
||||
@ -214,7 +214,7 @@ if (filter('action') == 'do_update') {
|
||||
$total += $scriptValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user