This commit is contained in:
Andrés Montañez
2014-08-06 14:35:50 -03:00
parent ec2bb12bf4
commit 724fc05b9e
7 changed files with 10 additions and 6 deletions
+2 -4
View File
@@ -85,11 +85,10 @@ class Console
}
});
// Load configuration
$config = self::$config = new Config;
$configError = false;
try {
// Load Config
$config = self::$config = new Config;
// Load configuration
$config->load($arguments);
} catch (Exception $exception) {
@@ -249,7 +248,6 @@ class Console
public static function readInput()
{
$fp = fopen("php://stdin", "r");
$line = '';
$line = fgets($fp);
return rtrim($line);