mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Revert test environment links back to e107.org
This commit is contained in:
@@ -225,7 +225,7 @@ abstract class e_marketplace_adapter_abstract
|
||||
* e107.org download URL
|
||||
* @var string
|
||||
*/
|
||||
protected $downloadUrl = 'http://172.16.0.2/aptana3/e107_07/request';
|
||||
protected $downloadUrl = 'http://e107.org/request';
|
||||
|
||||
/**
|
||||
* e107.org service URL [adapter implementation required]
|
||||
@@ -344,7 +344,7 @@ abstract class e_marketplace_adapter_abstract
|
||||
|
||||
return;
|
||||
}
|
||||
/*
|
||||
/*
|
||||
else
|
||||
{
|
||||
$contents = file_get_contents(e_TEMP.$localfile);
|
||||
@@ -353,7 +353,7 @@ abstract class e_marketplace_adapter_abstract
|
||||
echo "<script>alert('".$tp->toJS($contents)."')</script>";
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
}*/
|
||||
|
||||
|
||||
chmod(e_TEMP.$localfile, 0755);
|
||||
@@ -458,7 +458,7 @@ class e_marketplace_adapter_wsdl extends e_marketplace_adapter_abstract
|
||||
* e107.org WSDL URL
|
||||
* @var string
|
||||
*/
|
||||
protected $serviceUrl = 'http://172.16.0.2/aptana3/e107_07/service?wsdl';
|
||||
protected $serviceUrl = 'http://e107.org/service?wsdl';
|
||||
|
||||
/**
|
||||
* Request method POST || GET
|
||||
@@ -589,9 +589,9 @@ class e_marketplace_adapter_wsdl extends e_marketplace_adapter_abstract
|
||||
}
|
||||
|
||||
switch ($method)
|
||||
{
|
||||
case 'getList':
|
||||
break;
|
||||
{
|
||||
case 'getList':
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
@@ -609,7 +609,7 @@ class e_marketplace_adapter_xmlrpc extends e_marketplace_adapter_abstract
|
||||
* e107.org XML-rpc service
|
||||
* @var xmlClass
|
||||
*/
|
||||
protected $serviceUrl = 'http://172.16.0.2/aptana3/e107_07/xservice';
|
||||
protected $serviceUrl = 'http://e107.org/xservice';
|
||||
|
||||
/**
|
||||
* Request method POST || GET
|
||||
@@ -768,13 +768,13 @@ class e_marketplace_adapter_xmlrpc extends e_marketplace_adapter_abstract
|
||||
public function fetchParams(&$result)
|
||||
{
|
||||
foreach ($result as $tag => $data)
|
||||
{
|
||||
{
|
||||
if($tag === 'params')
|
||||
{
|
||||
foreach ($data['param'] as $param)
|
||||
{
|
||||
{
|
||||
$result[$tag][$param['@attributes']['name']] = $param['@value'];
|
||||
unset($result[$tag]['param'][$i]);
|
||||
unset($result[$tag]['param'][$i]);
|
||||
}
|
||||
unset($result[$tag]['param']);
|
||||
}
|
||||
@@ -791,7 +791,7 @@ class e_marketplace_adapter_xmlrpc extends e_marketplace_adapter_abstract
|
||||
elseif(is_array($result[$tag]))
|
||||
{
|
||||
$this->fetchParams($result[$tag]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -802,13 +802,13 @@ class e_marketplace_adapter_xmlrpc extends e_marketplace_adapter_abstract
|
||||
public function prepareClient($method, &$client)
|
||||
{
|
||||
switch ($method)
|
||||
{
|
||||
{
|
||||
case 'getList':
|
||||
$this->_forceArray = array('item', 'screenshots', 'image');
|
||||
$this->_forceNumericalArray = array('item', 'image');
|
||||
$this->_forceNumericalArray = array('item', 'image');
|
||||
//$client->setOptArrayTags('item,screenshots,image')
|
||||
// ->setOptStringTags('icon,folder,version,author,authorURL,date,compatibility,url,thumbnail,featured,livedemo,price,name,description,category,image');
|
||||
break;
|
||||
// ->setOptStringTags('icon,folder,version,author,authorURL,date,compatibility,url,thumbnail,featured,livedemo,price,name,description,category,image');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -828,25 +828,25 @@ class eAuth
|
||||
* e107.org manage client credentials (Consumer Key and Secret) URL
|
||||
* @var string
|
||||
*/
|
||||
protected $eauthConsumerUrl = 'http://172.16.0.2/aptana3/e107_07/eauth/client';
|
||||
protected $eauthConsumerUrl = 'http://e107.org/eauth/client';
|
||||
|
||||
/**
|
||||
* URL used to make temporary credential request (Request Token and Secret) to e107.org before the authorization phase
|
||||
* @var string
|
||||
*/
|
||||
protected $eauthRequestUrl = 'http://172.16.0.2/aptana3/e107_07/eauth/initialize';
|
||||
protected $eauthRequestUrl = 'http://e107.org/eauth/initialize';
|
||||
|
||||
/**
|
||||
* URL used to redirect and authorize the resource owner (user) on e107.org using temporary (request) token
|
||||
* @var string
|
||||
*/
|
||||
protected $eauthAuthorizeUrl = 'http://172.16.0.2/aptana3/e107_07/eauth/authorize';
|
||||
protected $eauthAuthorizeUrl = 'http://e107.org/eauth/authorize';
|
||||
|
||||
/**
|
||||
* URL used to obtain token credentials (Access Token and Secret) from e107.org using temporary (request) token
|
||||
* @var string
|
||||
*/
|
||||
protected $eauthAccessUrl = 'http://172.16.0.2/aptana3/e107_07/eauth/token';
|
||||
protected $eauthAccessUrl = 'http://e107.org/eauth/token';
|
||||
|
||||
/**
|
||||
* Public client key (generated and obtained from e107.org)
|
||||
|
Reference in New Issue
Block a user