Skip to content
Snippets Groups Projects
Verified Commit fbbd976a authored by Damien's avatar Damien
Browse files

FEAT #13718 TIME 0:15 sql clause help

parent e9c9171f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<root>
<version>20.10.1</version>
</root>
...@@ -91,13 +91,10 @@ class CoreConfigModel ...@@ -91,13 +91,10 @@ class CoreConfigModel
public static function getApplicationVersion() public static function getApplicationVersion()
{ {
$loadedXml = CoreConfigModel::getXmlLoaded(['path' => 'apps/maarch_entreprise/xml/applicationVersion.xml']); $file = file_get_contents('package.json');
$file = json_decode($file, true);
if (empty($loadedXml)) { return $file['version'];
return '';
}
return (string)$loadedXml->version;
} }
public static function getLanguage() public static function getLanguage()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment