mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating changes made to the core files that are loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
099144bcbd
commit
95c919a7a5
2 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ if (!defined('PHP5')) {
|
|||
require LIBS . 'object.php';
|
||||
require LIBS . 'session.php';
|
||||
require LIBS . 'security.php';
|
||||
require LIBS . 'neat_array.php';
|
||||
//require LIBS . 'neat_array.php';
|
||||
require LIBS . 'inflector.php';
|
||||
require LIBS . 'configure.php';
|
||||
$paths = Configure::getInstance();
|
||||
|
|
|
@ -30,11 +30,11 @@
|
|||
?>
|
||||
<p class="notice">Your database configuration file is <?php echo file_exists(CONFIGS.'database.php') ?' present.' . $filePresent = ' ' : ' not present.'; ?></p>
|
||||
<?php if (!empty($filePresent)):?>
|
||||
<?php $db = ConnectionManager::getInstance(); ?>
|
||||
<?php uses('model' . DS . 'connection_manager'); $db = ConnectionManager::getInstance(); ?>
|
||||
<?php $connected = $db->getDataSource('default'); ?>
|
||||
<p class="notice">Cake<?php echo $connected->isConnected() ? ' is able to' : ' is not able to';?> connect to the database.</p>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<h2>CakePHP release information is on CakeForge</h2>
|
||||
<a href="http://cakeforge.org/projects/cakephp">Read the release notes and get the latest version</a>
|
||||
|
||||
|
|
Loading…
Reference in a new issue