This commit is contained in:
Roman Kelesidis 2023-09-23 13:19:07 +07:00
parent 77206ac1d7
commit 757a6e94d9
2 changed files with 11 additions and 0 deletions

View File

@ -35,6 +35,12 @@ else
require(BB_ROOT . 'library/config.php');
}
// Get mods config
if (file_exists(BB_ROOT . 'library/config.mods.php'))
{
require(BB_ROOT . 'library/config.mods.php');
}
// Load Zend Framework
use Zend\Loader\StandardAutoloader;
require(BB_ROOT . 'library/Zend/Loader/StandardAutoloader.php');

5
library/config.mods.php Normal file
View File

@ -0,0 +1,5 @@
<?php
if (!defined('BB_ROOT')) die(basename(__FILE__));
// Укажите в этом файле настройки модов (в config.php дублировать не нужно!)