Errores solucionados

This commit is contained in:
Juan Ferrer Toribio 2016-10-15 20:59:43 +02:00
parent caa58b15b8
commit 42201d2c57
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -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.

View File

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