]> git.mxchange.org Git - core.git/blobdiff - inc/database.php
Debugging continued:
[core.git] / inc / database.php
index 783944a858ed7af9c6bb4327233d60f581eb42c9..6bcb51535ef8774d45d01915e0720458e35e4cd6 100644 (file)
@@ -2,6 +2,7 @@
 // Import framework stuff
 use CoreFramework\Configuration\FrameworkConfiguration;
 use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * Initializes the database layer
@@ -53,4 +54,6 @@ $connectionInstance = DatabaseConnection::createDatabaseConnection(DebugMiddlewa
 
 // Is the app variable there and valid?
 // @TODO Rewrite this
-if (is_object($app)) $app->setDatabaseInstance($connectionInstance);
+if (is_object($app)) {
+       $app->setDatabaseInstance($connectionInstance);
+} // END - if