OSDN Git Service

9a16d508c13a49ebeca44f30270f76f8d18d270d
[umumu/umumu.git] / lib / Cake / View / Errors / missing_datasource.ctp
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 2.0
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 Datasource'); ?></h2>
20 <p class="error">
21         <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
22         <?php echo __d('cake_dev', 'Datasource class %s could not be found.', '<em>' . h($pluginDot . $class) . '</em>'); ?>
23         <?php if (isset($message)):  ?>
24                 <?php echo h($message); ?>
25         <?php endif; ?>
26 </p>
27 <p class="notice">
28         <strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
29         <?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_datasource.ctp'); ?>
30 </p>
31
32 <?php echo $this->element('exception_stack_trace'); ?>