1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Moving to protocol auto-detection (wsdl prefered)

This commit is contained in:
SecretR 2013-05-19 18:58:17 +03:00
parent d32c65dbfa
commit 67c55ffbd3
2 changed files with 3 additions and 5 deletions

View File

@ -266,7 +266,7 @@ class pluginManager{
if(null === $this->mp) if(null === $this->mp)
{ {
require_once(e_HANDLER.'e_marketplace.php'); require_once(e_HANDLER.'e_marketplace.php');
$this->mp = new e_marketplace('xmlrpc'); // XXX temporary force xmplrpc $this->mp = new e_marketplace(); // autodetect the best method
} }
return $this->mp; return $this->mp;
} }

View File

@ -457,7 +457,7 @@ class themeHandler
if(null === $this->mp) if(null === $this->mp)
{ {
require_once(e_HANDLER.'e_marketplace.php'); require_once(e_HANDLER.'e_marketplace.php');
$this->mp = new e_marketplace('xmlrpc'); // XXX temporary force xmplrpc $this->mp = new e_marketplace(); // autodetect the best method
} }
return $this->mp; return $this->mp;
} }
@ -529,8 +529,6 @@ class themeHandler
$text .= "</div>"; $text .= "</div>";
$text .= '<div id="shop" style="margin-top:10px;min-height:585px" class=" carousel-inner">'; $text .= '<div id="shop" style="margin-top:10px;min-height:585px" class=" carousel-inner">';
//var_dump($xdata);
if(is_array($xdata['data'] )) if(is_array($xdata['data'] ))
{ {