Fix System class conflict.
This commit is contained in:
davidcallizaya
2017-08-03 18:44:57 -04:00
parent f0c2511968
commit 81149399da
362 changed files with 1843 additions and 127409 deletions

View File

@@ -494,7 +494,7 @@ class AddonsStore extends BaseAddonsStore
"header" => "Content-type: application/x-www-form-urlencoded\r\n",
"content" => http_build_query(
array(
"pmVersion" => System::getVersion(),
"pmVersion" => PMSystem::getVersion(),
"version" => STORE_VERSION
)
)
@@ -502,7 +502,7 @@ class AddonsStore extends BaseAddonsStore
);
// Proxy settings
$sysConf = System::getSystemConfiguration();
$sysConf = PMSystem::getSystemConfiguration();
if (isset($sysConf['proxy_host'])) {
if ($sysConf['proxy_host'] != '') {
if (!is_array($option['http'])) {