From f2f9a6a55442d4d20788d578b7453db6e680b695 Mon Sep 17 00:00:00 2001 From: NukeVlad Date: Sat, 2 Dec 2017 17:20:59 +0300 Subject: [PATCH] Update action_mysql.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Обновление для совместимости версии 4.3.00 --- modules/events/action_mysql.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/events/action_mysql.php b/modules/events/action_mysql.php index 0a96b6c..9746d58 100644 --- a/modules/events/action_mysql.php +++ b/modules/events/action_mysql.php @@ -58,3 +58,6 @@ KEY status (status), UNIQUE KEY alias (alias) ) ENGINE=MyISAM"; + +$sql_create_module[] = "INSERT INTO " . NV_CONFIG_GLOBALTABLE . " (lang, module, config_name, config_value) VALUES ('" . $lang . "', '" . $module_name . "', 'allowattachcomm', '0')"; +$sql_create_module[] = "INSERT INTO " . NV_CONFIG_GLOBALTABLE . " (lang, module, config_name, config_value) VALUES ('" . $lang . "', '" . $module_name . "', 'alloweditorcomm', '0')";