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