| version 1.11, 2012/10/07 17:24:48 |
version 1.12, 2013/06/24 09:38:11 |
| Line 1191 function ezin_admin_maintenance_main($re |
|
| Line 1191 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "redirect_equal_url"' |
WHERE a_key = "redirect_equal_url"' |
| ); |
); |
| |
|
| |
// HTTPS redirect for ADMIN |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'HTTPS redirect for ADMIN - a_key', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "https_admin"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'https_admin', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("https_admin");' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'HTTPS redirect for ADMIN - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 730, |
| |
name = "HTTPS redirect for ADMIN", |
| |
description = |
| |
"HTTPS redirect for ADMIN" |
| |
WHERE a_key = "https_admin"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1356 function ezin_admin_maintenance_main($re |
|
| Line 1377 function ezin_admin_maintenance_main($re |
|
| 'correct_answer' => 'redirect_equal_url', |
'correct_answer' => 'redirect_equal_url', |
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("redirect_equal_url", "0")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("redirect_equal_url", "0")' |
| ); |
); |
| |
|
| |
// HTTPS redirect for ADMIN |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'HTTPS redirect for ADMIN - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "https_admin"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'https_admin', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("https_admin", "1")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|