Добавление проектов
Добавили возможность создавания разных проектов.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
require_once __DIR__ . '/restAPI/class_restApi.php';
|
||||
require_once __DIR__ . '/class/enity/class_base.php';
|
||||
require_once __DIR__ . '/class/enity/class_user.php';
|
||||
require_once __DIR__ . '/class/enity/class_project.php';
|
||||
require_once __DIR__ . '/class/enity/class_task.php';
|
||||
require_once __DIR__ . '/class/enity/class_taskImage.php';
|
||||
|
||||
@@ -23,15 +24,13 @@
|
||||
define('DB_PORT', 3306);
|
||||
define('DB_CHARSET', 'utf8mb4');
|
||||
|
||||
// ID колонки "Готово" (для фиксации date_closed и архивации)
|
||||
define('COLUMN_DONE_ID', 4);
|
||||
|
||||
// Инициализация подключения к БД
|
||||
Database::init();
|
||||
|
||||
$routes = [
|
||||
'/api/user' => __DIR__ . '/../api/user.php',
|
||||
'/api/task' => __DIR__ . '/../api/task.php',
|
||||
'/api/project' => __DIR__ . '/../api/project.php',
|
||||
];
|
||||
|
||||
$publicActions = ['auth_login', 'check_session'];
|
||||
|
||||
Reference in New Issue
Block a user