diff --git a/web/edit/cron/index.php b/web/edit/cron/index.php index 309b57744..50bce9546 100644 --- a/web/edit/cron/index.php +++ b/web/edit/cron/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Edit as someone else? if (($_SESSION['user'] == 'admin') && (!empty($_GET['user']))) { $user=escapeshellarg($_GET['user']); diff --git a/web/edit/db/index.php b/web/edit/db/index.php index d41ccc7b7..713f13a8b 100644 --- a/web/edit/db/index.php +++ b/web/edit/db/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - if (empty($_GET['database'])) { header("Location: /list/db/"); exit; diff --git a/web/edit/dns/index.php b/web/edit/dns/index.php index 51262fc06..ad03b4ac5 100644 --- a/web/edit/dns/index.php +++ b/web/edit/dns/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/dns/"); diff --git a/web/edit/ip/index.php b/web/edit/ip/index.php index 00fa176ff..ebef99f1f 100644 --- a/web/edit/ip/index.php +++ b/web/edit/ip/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/mail/index.php b/web/edit/mail/index.php index cfb71c988..bc1233836 100644 --- a/web/edit/mail/index.php +++ b/web/edit/mail/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/mail/"); diff --git a/web/edit/package/index.php b/web/edit/package/index.php index 1bfc92ff6..f67c6db7a 100644 --- a/web/edit/package/index.php +++ b/web/edit/package/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/user/index.php b/web/edit/user/index.php index 25ae2de9b..d8deef677 100644 --- a/web/edit/user/index.php +++ b/web/edit/user/index.php @@ -10,10 +10,6 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); // Header include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); - -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 36a313674..efbba4d85 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -14,9 +14,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/web/"); @@ -28,7 +25,6 @@ if (($_SESSION['user'] == 'admin') && (!empty($_GET['user']))) { $user=escapeshellarg($_GET['user']); } - // Check domain $v_domain = escapeshellarg($_GET['domain']); exec (VESTA_CMD."v-list-web-domain ".$user." ".$v_domain." json", $output, $return_var);