1
0
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:
Dasc3er 2021-09-24 14:31:12 +02:00
parent 07c098deb3
commit e7a889a9db

View File

@ -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(){