Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1156 → Rev 1157

/trunk/jrest/cli.php
49,9 → 49,9
$nom_methode = array_shift($argv);
$params = $argv;
$_SERVER['SERVER_NAME'] = 'localhost';
$config = parse_ini_file('jrest.ini.php', TRUE);
$_SERVER['SERVER_NAME'] = 'localhost';
$service = new $nom_service($config);
if(!is_callable(array($service, $nom_methode))) {