Add categories for projects and tasks
This commit is contained in:
@@ -6,7 +6,7 @@ require __DIR__.'/core/translator.php';
|
||||
|
||||
$registry = new Core\Registry;
|
||||
|
||||
$registry->db_version = 15;
|
||||
$registry->db_version = 16;
|
||||
|
||||
$registry->db = function() use ($registry) {
|
||||
require __DIR__.'/vendor/PicoDb/Database.php';
|
||||
@@ -110,6 +110,11 @@ $registry->google = function() use ($registry) {
|
||||
return new \Model\Google($registry->shared('db'), $registry->shared('event'));
|
||||
};
|
||||
|
||||
$registry->category = function() use ($registry) {
|
||||
require_once __DIR__.'/models/category.php';
|
||||
return new \Model\Category($registry->shared('db'), $registry->shared('event'));
|
||||
};
|
||||
|
||||
if (file_exists('config.php')) require 'config.php';
|
||||
|
||||
// Board refresh frequency in seconds for the public board view
|
||||
|
||||
Reference in New Issue
Block a user