mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added the placeholder class for an 'AppShell'.
Conflicts: cake/console/cake.php
This commit is contained in:
parent
3237402fb8
commit
b0ddfa0755
2 changed files with 18 additions and 0 deletions
|
@ -23,3 +23,4 @@
|
|||
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR. 'shell_dispatcher.php');
|
||||
|
||||
return ShellDispatcher::run($argv);
|
||||
|
||||
|
|
17
cake/console/libs/app_shell.php
Normal file
17
cake/console/libs/app_shell.php
Normal file
|
@ -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() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue