Merge pull request #313 from shreesh-webkul/qlo-mod-upg-suggestion

Module suggestions and upgrades added
This commit is contained in:
Rohit Jain
2022-01-31 16:08:17 +05:30
committed by GitHub
13 changed files with 132 additions and 44 deletions

View File

@@ -169,7 +169,7 @@ class AdminInformationControllerCore extends AdminController
public function displayAjaxCheckFiles()
{
$this->file_list = array('missing' => array(), 'updated' => array());
$xml = @simplexml_load_file(_PS_API_URL_.'/xml/md5/'._PS_VERSION_.'.xml');
$xml = @simplexml_load_file(_QLO_API_URL_.'/xml/md5/'._QLOAPPS_VERSION_.'.xml');
if (!$xml || !isset($xml->ps_root_dir[0])) {
die(json_encode($this->file_list));
}