3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
6 * Licensed under The MIT License
7 * For full copyright and license information, please see the LICENSE.txt
8 * Redistributions of files must retain the above copyright notice.
10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11 * @link http://cakephp.org CakePHP(tm) Project
13 * @license http://www.opensource.org/licenses/mit-license.php MIT License
15 use Cake\Core\Configure;
16 use Cake\Core\Exception\MissingPluginException;
20 * Additional bootstrapping and configuration for CLI environments should
24 // Set logs to different files so they don't have permission conflicts.
25 Configure::write('Log.debug.file', 'cli-debug');
26 Configure::write('Log.error.file', 'cli-error');
30 } catch (MissingPluginException $e) {
31 // Do not halt if the plugin is missing