統計
| ブランチ: | リビジョン:

pictcode / lib / Cake / View / Errors / missing_connection.ctp @ 635eef61

履歴 | 表示 | アノテート | ダウンロード (1.503 KB)

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
<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', 'A Database connection using "%s" was missing or unable to connect.', h($class)); ?>
21
	<br />
22
	<?php
23
	if (isset($message)):
24
		echo __d('cake_dev', 'The database server returned this error: %s', h($message));
25
	endif;
26
	?>
27
</p>
28
<?php if (!$enabled) : ?>
29
<p class="error">
30
	<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
31
	<?php echo __d('cake_dev', '%s driver is NOT enabled', h($class)); ?>
32
</p>
33
<?php endif; ?>
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 . basename(__FILE__)); ?>
37
</p>
38

    
39
<?php
40
echo $this->element('exception_stack_trace');