mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +00:00
Moving AppShell to where the other shells live.
This commit is contained in:
parent
b0ddfa0755
commit
b914709f32
2 changed files with 33 additions and 17 deletions
|
@ -1,17 +0,0 @@
|
||||||
<?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() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
33
cake/console/shells/app_shell.php
Normal file
33
cake/console/shells/app_shell.php
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* AppShell file
|
||||||
|
*
|
||||||
|
* PHP 5
|
||||||
|
*
|
||||||
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||||
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
*
|
||||||
|
* Licensed under The MIT License
|
||||||
|
* Redistributions of files must retain the above copyright notice.
|
||||||
|
*
|
||||||
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
* @link http://cakephp.org CakePHP(tm) Project
|
||||||
|
* @package cake
|
||||||
|
* @subpackage cake.console.shells
|
||||||
|
* @since CakePHP(tm) v 2.0
|
||||||
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a placeholder class.
|
||||||
|
* Create the same file in app/console/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 {
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue