From 28bc4246bff405367c9e5640bca356b307962026 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 1 Mar 2014 19:51:09 -0500 Subject: Add acl and access list for projects --- models/base.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'models/base.php') diff --git a/models/base.php b/models/base.php index c8e4cf19..44a8b6b2 100644 --- a/models/base.php +++ b/models/base.php @@ -18,8 +18,7 @@ require __DIR__.'/schema.php'; abstract class Base { const APP_VERSION = 'master'; - const DB_VERSION = 6; - const DB_FILENAME = 'data/db.sqlite'; + const DB_VERSION = 7; private static $dbInstance = null; protected $db; @@ -37,7 +36,7 @@ abstract class Base { $db = new \PicoDb\Database(array( 'driver' => 'sqlite', - 'filename' => self::DB_FILENAME + 'filename' => DB_FILENAME )); if ($db->schema()->check(self::DB_VERSION)) { -- cgit v1.2.3