removed hardcodded lang directives

This commit is contained in:
Serghey Rodin 2013-01-29 17:20:01 +02:00
commit 23f30e85ca
8 changed files with 0 additions and 26 deletions

View file

@ -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']);

View file

@ -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;

View file

@ -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/");

View file

@ -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') {

View file

@ -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/");

View file

@ -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') {

View file

@ -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') {

View file

@ -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);