« Op #texel maken ze ook bier! | Main | Return value of a CakePHP Shell »
Removing the “Welcome to CakePHP…” message in a Shell
By Bart | september 1, 2010
It is quite easy, but I had to ask on IRC (the very good #CakePHP channel on FreeNode) and browse the CakePHP source code to find it.
The welcome message is output by the protected _welcome() call (in cake/console/shell.php). This method is called by the startup() call, which can be overridden in your Shell. As also said in the API docs.
Trefwoorden: Geekstuff | Geen reacties »