/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))) { |