Application cleanup

This commit is contained in:
Deon George
2013-05-10 20:48:10 +10:00
parent 077c1923f3
commit 067af280af
36 changed files with 284 additions and 544 deletions

View File

@@ -115,8 +115,6 @@ class Config extends Kohana_Config {
// We need to know our site here, so that we can subsequently load our enabled modules.
if (PHP_SAPI === 'cli') {
if (! ($site = Minion_CLI::options('site'))) {
// @todo Need to figure out how to make this CLI error nicer.
#throw new Minion_Exception_InvalidTask(_('Cant figure out the site, use --site= for CLI'));
echo _('Cant figure out the site, use --site= for CLI')."\n";
die();