| 16591 |
anikendra |
1 |
<?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 0.10.0.1076
|
|
|
14 |
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
$pluginDot = empty($plugin) ? null : $plugin . '.';
|
|
|
18 |
?>
|
|
|
19 |
<h2><?php echo __d('cake_dev', 'Missing Controller'); ?></h2>
|
|
|
20 |
<p class="error">
|
|
|
21 |
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
|
|
22 |
<?php echo __d('cake_dev', '%s could not be found.', '<em>' . h($pluginDot . $class) . '</em>'); ?>
|
|
|
23 |
</p>
|
|
|
24 |
<p class="error">
|
|
|
25 |
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
|
|
|
26 |
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . h($class) . '</em>', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . h($class) . '.php'); ?>
|
|
|
27 |
</p>
|
|
|
28 |
<pre>
|
|
|
29 |
<?php
|
|
|
30 |
class <?php echo h($class . ' extends ' . $plugin); ?>AppController {
|
|
|
31 |
|
|
|
32 |
}
|
|
|
33 |
</pre>
|
|
|
34 |
<p class="notice">
|
|
|
35 |
<strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
|
|
|
36 |
<?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_controller.ctp'); ?>
|
|
|
37 |
</p>
|
|
|
38 |
|
|
|
39 |
<?php echo $this->element('exception_stack_trace'); ?>
|