pictcode / lib / Cake / View / Errors / missing_plugin.ctp @ 0b1b8047
履歴 | 表示 | アノテート | ダウンロード (1.746 KB)
1 | 635eef61 | spyder1211 | <?php |
---|---|---|---|
2 | /** |
||
3 | * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
||
4 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
5 | * |
||
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. |
||
9 | * |
||
10 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
11 | * @link http://cakephp.org CakePHP(tm) Project |
||
12 | * @package Cake.View.Errors |
||
13 | * @since CakePHP(tm) v 2.0 |
||
14 | * @license http://www.opensource.org/licenses/mit-license.php MIT License |
||
15 | */ |
||
16 | ?> |
||
17 | <h2><?php echo __d('cake_dev', 'Missing Plugin'); ?></h2> |
||
18 | <p class="error"> |
||
19 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong> |
||
20 | <?php echo __d('cake_dev', 'The application is trying to load a file from the %s plugin', '<em>' . h($plugin) . '</em>'); ?> |
||
21 | </p> |
||
22 | <p class="error"> |
||
23 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong> |
||
24 | <?php echo __d('cake_dev', 'Make sure your plugin %s is in the %s directory and was loaded', $plugin, APP_DIR . DS . 'Plugin'); ?> |
||
25 | </p> |
||
26 | <pre> |
||
27 | <?php |
||
28 | CakePlugin::load('<?php echo h($plugin); ?>'); |
||
29 | |||
30 | </pre> |
||
31 | <p class="notice"> |
||
32 | <strong><?php echo __d('cake_dev', 'Loading all plugins'); ?>: </strong> |
||
33 | <?php echo __d('cake_dev', 'If you wish to load all plugins at once, use the following line in your %s file', APP_DIR . DS . 'Config' . DS . 'bootstrap.php'); ?> |
||
34 | </p> |
||
35 | <pre> |
||
36 | CakePlugin::loadAll(); |
||
37 | </pre> |
||
38 | <p class="notice"> |
||
39 | <strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong> |
||
40 | <?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_plugin.ctp'); ?> |
||
41 | </p> |
||
42 | |||
43 | <?php |
||
44 | echo $this->element('exception_stack_trace'); |
||
45 | ?> |