1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 06:03:27 +02:00

PHP 7.3 Notice/Warning Fixes.

This commit is contained in:
Cameron
2019-05-27 10:45:35 -07:00
parent eb6401385e
commit 783be29953
10 changed files with 42 additions and 26 deletions

View File

@@ -441,7 +441,7 @@ abstract class e_marketplace_adapter_abstract
$remotefile = $this->downloadUrl."?auth=".$this->getAuthKey()."&".$qry;
$localfile = md5($remotefile.time()).".zip";
$mes->addSuccess(TPVLAN_81);
$mes->addSuccess(LAN_DOWNLOADING."...");
// FIXME call the service, check status first, then download (if status OK), else retireve the error break and show it
@@ -479,7 +479,8 @@ abstract class e_marketplace_adapter_abstract
if($fl->unzipArchive($localfile,$type, true))
{
$mes->addSuccess(TPVLAN_82);
$lan = defset('LAN_DOWNLOAD_COMPLETE', 'Download Complete!');
$mes->addSuccess($lan);
return true;
}
else