mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Aggiunta versione agli assets
Per impedire problemi di cache all'aggiornamento.
This commit is contained in:
parent
2f7af8c3c3
commit
4823258f75
@ -165,6 +165,8 @@ class App
|
|||||||
// Assets aggiuntivi
|
// Assets aggiuntivi
|
||||||
$config = self::getConfig();
|
$config = self::getConfig();
|
||||||
|
|
||||||
|
$version = Update::getVersion();
|
||||||
|
|
||||||
// Impostazione dei percorsi
|
// Impostazione dei percorsi
|
||||||
$paths = self::getPaths();
|
$paths = self::getPaths();
|
||||||
$lang = trans()->getCurrentLocale();
|
$lang = trans()->getCurrentLocale();
|
||||||
@ -203,7 +205,7 @@ class App
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$result[$key] = $element;
|
$result[$key] = $element.'?v='.$version;
|
||||||
}
|
}
|
||||||
|
|
||||||
$assets[$section] = $result;
|
$assets[$section] = $result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user