mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
add user data and message to lock command
This commit is contained in:
+14
-1
@@ -227,6 +227,18 @@ class Console
|
||||
return self::$logFile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Read String From Prompt
|
||||
*/
|
||||
public static function readInput()
|
||||
{
|
||||
$fp = fopen("php://stdin","r");
|
||||
$line = '';
|
||||
$line = fgets($fp);
|
||||
|
||||
return rtrim($line);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Logs
|
||||
* @param \Mage\Config $config
|
||||
@@ -252,4 +264,5 @@ class Console
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user