pictcode / lib / Cake / View / Errors / missing_database.ctp @ 635eef61
履歴 | 表示 | アノテート | ダウンロード (1.349 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 0.10.0.1076 |
||
14 | * @license http://www.opensource.org/licenses/mit-license.php MIT License |
||
15 | */ |
||
16 | ?> |
||
17 | <h2><?php echo __d('cake_dev', 'Missing Database Connection'); ?></h2> |
||
18 | <p class="error"> |
||
19 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong> |
||
20 | <?php echo __d('cake_dev', 'Scaffold requires a database connection'); ?> |
||
21 | </p> |
||
22 | <p class="error"> |
||
23 | <strong><?php echo __d('cake_dev', 'Error'); ?>: </strong> |
||
24 | <?php echo __d('cake_dev', 'Confirm you have created the file: %s', APP_DIR . DS . 'Config' . DS . 'database.php'); ?> |
||
25 | </p> |
||
26 | <p class="notice"> |
||
27 | <strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong> |
||
28 | <?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'missing_database.ctp'); ?> |
||
29 | </p> |
||
30 | |||
31 | <?php |
||
32 | echo $this->element('exception_stack_trace'); |
||
33 | ?> |