Forec auth to CLI when using CLI

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1907 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2015-01-06 09:12:26 +00:00
parent 7ef00c046f
commit 82b35c115c

View File

@@ -300,6 +300,7 @@ class cli
{
$classReflection = new ReflectionClass($class);
$r = $classReflection->newInstanceArgs($paramConst);
$r->auth["email"] = "cli";
$s = call_user_func_array(array($r, $method), $argv);
var_dump ($s);
}