Initial commit

This commit is contained in:
Ivan Petrov
2025-12-24 19:19:01 +03:00
commit a7097c6178
19493 changed files with 94306 additions and 0 deletions

37
loader.php Normal file
View File

@@ -0,0 +1,37 @@
<?php
require_once "config.php";
require_once ENGINE_DIR . SLASH . "class.bive.php";
require_once ENGINE_DIR . SLASH . "class.item.php";
require_once ENGINE_DIR . SLASH . "class.prop.php";
require_once ENGINE_DIR . SLASH . "class.dom.php";
require_once ENGINE_DIR . SLASH . "class.search.php";
require_once ENGINE_DIR . SLASH . "class.plugin.php";
$b = new Bive();
$b->db_touch();
$b->router_set_not_found(function (){
echo "Not found";
});
// Подключаем Типы данных
$b->datatype_load();
// Подключаем плагины
$b->plugins_load();
// Событие окончания загрузки плагинов
$b->event_start("plugins_loaded");
// Подключаем PlayArea
$b->pa_connect_main();
// Событие окончания загрузки BiveEngine
$b->event_start("engine_loaded");
// Перехват значений форм
$b->event_form_capture();
// Включаем роутер
$b->router_init();