diff --git a/debian/changelog b/debian/changelog index 2b2509d..087f1ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -php-vn-lib (1.303-deb8) stable; urgency=low +php-vn-lib (1.304-deb8) stable; urgency=low * Initial Release. diff --git a/lib/cli-app.php b/lib/cli-app.php index 1577252..f6fb5d4 100755 --- a/lib/cli-app.php +++ b/lib/cli-app.php @@ -20,9 +20,11 @@ class CliApp extends App if (empty ($options['m'])) $this->usage (); + $db = $this->getSysConn (); + echo "Executing method '{$options['m']}'\n"; $method = $this->loadMethod ($options['m']); - $method->run (); + $method->run ($db); } catch (Exception $e) {