добавлена защита от запуска без подключения ядра
This commit is contained in:
1 parent
4132cc1186
commit
fde908ba27
3 files changed
+23
-8
No files matched your search
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
session_start();
|
||||
define('START_TIME', microtime(true)); // засекаем время старта скрипта
|
||||
define('CORE_LOADED', true); // флаг корректного запуска
|
||||
require_once __DIR__ . '/config.php'; // подключаем конфигурационный файл
|
||||
require_once DIR.'/inc/lib/CMail.class.php'; // отправка почтовых сообщений
|
||||
require_once DIR.'/inc/lib/CCache.class.php'; // кэширование
|
||||
|
||||
Reference in new issue
Block a user