mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing CacheHelper test
This commit is contained in:
parent
5e6926f01b
commit
6bd735955d
1 changed files with 1 additions and 2 deletions
|
@ -79,8 +79,7 @@ if (!empty($filePresent)):
|
||||||
if (!class_exists('ConnectionManager')) {
|
if (!class_exists('ConnectionManager')) {
|
||||||
require LIBS . 'model' . DS . 'connection_manager.php';
|
require LIBS . 'model' . DS . 'connection_manager.php';
|
||||||
}
|
}
|
||||||
$db = ConnectionManager::getInstance();
|
$connected = ConnectionManager::getDataSource('default');
|
||||||
$connected = $db->getDataSource('default');
|
|
||||||
?>
|
?>
|
||||||
<p>
|
<p>
|
||||||
<span class="notice">
|
<span class="notice">
|
||||||
|
|
Loading…
Reference in a new issue