Skip to content

Commit

Permalink
Added the placeholder class for an 'AppShell'.
Browse files Browse the repository at this point in the history
Conflicts:

	cake/console/cake.php
  • Loading branch information
markstory committed Nov 21, 2010
1 parent 3237402 commit b0ddfa0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions cake/console/cake.php
Expand Up @@ -23,3 +23,4 @@
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR. 'shell_dispatcher.php');

return ShellDispatcher::run($argv);

17 changes: 17 additions & 0 deletions cake/console/libs/app_shell.php
@@ -0,0 +1,17 @@
<?php
/**
* This is a placeholder class.
* Create the same file in app/vendors/shells/app_shell.php
*
* Add your application-wide methods in the class below, your shells
* will inherit them.
*
* @package cake
* @subpackage cake.cake.console.libs
*/
class AppShell extends Shell {

public function main() {
}

}

0 comments on commit b0ddfa0

Please sign in to comment.