| version 1.10, 2012/10/02 08:25:14 |
version 1.11, 2012/10/07 17:24:48 |
| Line 1169 function ezin_admin_maintenance_main($re |
|
| Line 1169 function ezin_admin_maintenance_main($re |
|
| "Selected type of antispam." |
"Selected type of antispam." |
| WHERE a_key = "antispam_type"' |
WHERE a_key = "antispam_type"' |
| ); |
); |
| |
|
| |
// Redirect equal URL |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Redirect equal URL - a_key', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "redirect_equal_url"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'redirect_equal_url', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("redirect_equal_url");' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Redirect equal URL - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 517, |
| |
name = "Redirect equal URL", |
| |
description = |
| |
"Redirect equal type of URL." |
| |
WHERE a_key = "redirect_equal_url"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| Line 1325 function ezin_admin_maintenance_main($re |
|
| Line 1346 function ezin_admin_maintenance_main($re |
|
| 'correct_answer' => 'antispam_type', |
'correct_answer' => 'antispam_type', |
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("antispam_type", "default")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("antispam_type", "default")' |
| ); |
); |
| |
|
| |
// Redirect equal URL |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Redirect equal URL - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "redirect_equal_url"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'redirect_equal_url', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("redirect_equal_url", "0")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|