Merge branch '2.1-appshell' into 2.1

This commit is contained in:
Ceeram 2012-01-23 15:29:03 +01:00
commit 4f1be12046
2 changed files with 33 additions and 3 deletions

View file

@ -19,13 +19,12 @@
App::uses('Shell', 'Console'); App::uses('Shell', 'Console');
/** /**
* This is a placeholder class. * Application Shell
* Create the same file in app/Console/Command/AppShell.php
* *
* Add your application-wide methods in the class below, your shells * Add your application-wide methods in the class below, your shells
* will inherit them. * will inherit them.
* *
* @package Cake.Console * @package app.Console.Command
*/ */
class AppShell extends Shell { class AppShell extends Shell {

View file

@ -0,0 +1,31 @@
<?php
/**
* AppShell file
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('Shell', 'Console');
/**
* Application Shell
*
* Add your application-wide methods in the class below, your shells
* will inherit them.
*
* @package app.Console.Command
*/
class AppShell extends Shell {
}