| version 1.13, 2013/07/24 07:01:14 |
version 1.14, 2013/09/03 15:34:46 |
| Line 1239 function ezin_admin_maintenance_main($re |
|
| Line 1239 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "feedback_flood_timeout"' |
WHERE a_key = "feedback_flood_timeout"' |
| ); |
); |
| |
|
| |
// Language by HTTP hosts |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Language by HTTP hosts - a_key', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "http_host_language"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'http_host_language', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("http_host_language");' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'HTTP hosts by language - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 153, |
| |
name = "Language by HTTP hosts", |
| |
description = |
| |
"This option defines HTTP hosts, whereby will be set |
| |
language. For each language separate in brackets HTTP |
| |
host names with space character and write them in lower |
| |
case. Identificator of language write before each |
| |
brackets." |
| |
WHERE a_key = "http_host_language"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1425 function ezin_admin_maintenance_main($re |
|
| Line 1450 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("feedback_flood_timeout", "30")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("feedback_flood_timeout", "30")' |
| ); |
); |
| |
|
| |
// Language by HTTP hosts |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Language by HTTP hosts - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "http_host_language"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'http_host_language', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("http_host_language", "")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|
| if (!isset($_POST['action'])) { |
if (!isset($_POST['action'])) { |