Exemplo n.º 1
0
<?php

/**
* @package  jelix
* @subpackage testapp
* @author   Laurent Jouanneau
* @contributor
* @copyright 2005-2010 Laurent Jouanneau
* @link        http://www.jelix.org
* @licence  http://www.gnu.org/licenses/gpl.html GNU General Public Licence, see LICENCE file
*/
require '../application.init.php';
require JELIX_LIB_CORE_PATH . 'request/jJsonRpcRequest.class.php';
checkAppOpened();
$config_file = 'jsonrpc/config.ini.php';
$jelix = new JCoordinator($config_file);
$jelix->process(new jJsonRpcRequest());
Exemplo n.º 2
0
<?php

/**
* @package  jelix
* @subpackage testapp
* @author   Laurent Jouanneau
* @contributor
* @copyright 2005-2010 Laurent Jouanneau
* @link        http://www.jelix.org
* @licence  http://www.gnu.org/licenses/gpl.html GNU General Public Licence, see LICENCE file
*/
require '../application.init.php';
require JELIX_LIB_CORE_PATH . 'request/jXmlRpcRequest.class.php';
checkAppOpened();
$config_file = 'xmlrpc/config.ini.php';
$jelix = new JCoordinator($config_file);
$jelix->process(new jXmlRpcRequest());