Errores solucionados
This commit is contained in:
parent
caa58b15b8
commit
42201d2c57
|
@ -1,4 +1,4 @@
|
||||||
php-vn-lib (1.303-deb8) stable; urgency=low
|
php-vn-lib (1.304-deb8) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,11 @@ class CliApp extends App
|
||||||
if (empty ($options['m']))
|
if (empty ($options['m']))
|
||||||
$this->usage ();
|
$this->usage ();
|
||||||
|
|
||||||
|
$db = $this->getSysConn ();
|
||||||
|
|
||||||
echo "Executing method '{$options['m']}'\n";
|
echo "Executing method '{$options['m']}'\n";
|
||||||
$method = $this->loadMethod ($options['m']);
|
$method = $this->loadMethod ($options['m']);
|
||||||
$method->run ();
|
$method->run ($db);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (Exception $e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue