aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-21 15:59:44 +0200
committerWilly Micieli <micieli@laposte.net>2019-10-21 15:59:44 +0200
commitd0cdd6f78dbf6034e7d430153b647cdf5bb074f4 (patch)
tree9becf43531ed62e0523503351032e921dbc9d9c4
parentb06775bc8bd6021dd4d9db4657d96a3b4b181a36 (diff)
downloadimperium-d0cdd6f78dbf6034e7d430153b647cdf5bb074f4.zip
imperium-d0cdd6f78dbf6034e7d430153b647cdf5bb074f4.tar.gz
move route to app/Routing directory
-rw-r--r--imperium/Query/Query.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/imperium/Query/Query.php b/imperium/Query/Query.php
index 58c2e8e..78d893f 100644
--- a/imperium/Query/Query.php
+++ b/imperium/Query/Query.php
@@ -228,9 +228,9 @@
{
if ($web)
- $this->connexion = connect(SQLITE, base('routes'). DIRECTORY_SEPARATOR . 'web.sqlite3');
+ $this->connexion = connect(SQLITE, base('app'). DIRECTORY_SEPARATOR . 'Routing' .DIRECTORY_SEPARATOR. 'web.sqlite3');
elseif($admin)
- $this->connexion = connect(SQLITE, base('routes'). DIRECTORY_SEPARATOR . 'admin.sqlite3');
+ $this->connexion = connect(SQLITE, base('app'). DIRECTORY_SEPARATOR . 'Routing' .DIRECTORY_SEPARATOR. 'admin.sqlite3');
else
$this->connexion = $this->app(Connect::class);
}