mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Moving console lib classes into a new directory.
This commit is contained in:
parent
d64aed59cc
commit
8476edd3d1
12 changed files with 10 additions and 10 deletions
|
@ -17,9 +17,9 @@
|
|||
* @since CakePHP(tm) v 2.0
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
require_once 'console_input_option.php';
|
||||
require_once 'console_input_argument.php';
|
||||
require_once 'console_input_subcommand.php';
|
||||
require_once CONSOLE_LIBS . 'console_input_option.php';
|
||||
require_once CONSOLE_LIBS . 'console_input_argument.php';
|
||||
require_once CONSOLE_LIBS . 'console_input_subcommand.php';
|
||||
|
||||
/**
|
||||
* Handles parsing the ARGV in the command line and provides support
|
|
@ -18,8 +18,9 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
require_once CONSOLE_LIBS . 'task_collection.php';
|
||||
require_once CAKE . 'console' . DS . 'console_output.php';
|
||||
require_once CAKE . 'console' . DS . 'console_input.php';
|
||||
require_once CONSOLE_LIBS . 'console_output.php';
|
||||
require_once CONSOLE_LIBS . 'console_input.php';
|
||||
require_once CONSOLE_LIBS . 'console_option_parser.php';
|
||||
|
||||
/**
|
||||
* Base class for command-line utilities for automating programmer chores.
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* @since CakePHP(tm) v 2.0
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
require_once 'console_option_parser.php';
|
||||
|
||||
/**
|
||||
* Shell dispatcher handles dispatching cli commands.
|
||||
|
@ -227,7 +226,7 @@ class ShellDispatcher {
|
|||
|
||||
$boot = file_exists(ROOT . DS . APP_DIR . DS . 'config' . DS . 'bootstrap.php');
|
||||
require CORE_PATH . 'cake' . DS . 'bootstrap.php';
|
||||
require_once CORE_PATH . 'cake' . DS . 'console' . DS . 'console_error_handler.php';
|
||||
require_once CONSOLE_LIBS . 'console_error_handler.php';
|
||||
set_exception_handler(array('ConsoleErrorHandler', 'handleException'));
|
||||
|
||||
if (!file_exists(APP_PATH . 'config' . DS . 'core.php')) {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* @since CakePHP(tm) v 2.0
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
require_once CAKE . 'console' . DS . 'console_error_handler.php';
|
||||
require_once CONSOLE_LIBS . 'console_error_handler.php';
|
||||
|
||||
/**
|
||||
* ConsoleErrorHandler Test case.
|
|
@ -18,7 +18,7 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
require_once CAKE . 'console' . DS . 'console_option_parser.php';
|
||||
require_once CONSOLE_LIBS . 'console_option_parser.php';
|
||||
|
||||
class ConsoleOptionParserTest extends CakeTestCase {
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
require_once CAKE . 'console' . DS . 'console_output.php';
|
||||
require_once CONSOLE_LIBS . 'console_output.php';
|
||||
|
||||
class ConsoleOutputTest extends CakeTestCase {
|
||||
|
Loading…
Add table
Reference in a new issue