| version 1.12, 2013/06/24 09:38:11 |
version 1.13, 2013/07/24 07:01:14 |
| Line 45 function ezin_admin_maintenance_main($re |
|
| Line 45 function ezin_admin_maintenance_main($re |
|
| * 1.4 2011-06-17 16:48 - doplnene testy pre Sources |
* 1.4 2011-06-17 16:48 - doplnene testy pre Sources |
| * 1.5 2012-05-02 14:28 - prepisanie verzii updatov |
* 1.5 2012-05-02 14:28 - prepisanie verzii updatov |
| * 1.6 2012-05-14 15:38 - doplnene pre Boxes |
* 1.6 2012-05-14 15:38 - doplnene pre Boxes |
| * 1.7 2012-05-15 12:47 - link redirect |
* 1.7 2012-05-15 12:47 - link redirect |
| |
* 1.8 2013-07-24 08:32 - feedback flood timeout |
| * |
* |
| */ |
*/ |
| |
|
| Line 1212 function ezin_admin_maintenance_main($re |
|
| Line 1213 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "https_admin"' |
WHERE a_key = "https_admin"' |
| ); |
); |
| |
|
| |
// Feedback flood timeout |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Feedback flood timeout - a_key', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "feedback_flood_timeout"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'feedback_flood_timeout', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("feedback_flood_timeout");' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Feedback flood timeout - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 235, |
| |
name = "Feedback flood timeout", |
| |
description = |
| |
"Set the amount of time in seconds used by flood check |
| |
to prevent feedback post flooding. Your specified time |
| |
is minimum required time to wait for ability to post |
| |
next message from one IP address. Recommended value is |
| |
30. Enter the number of seconds only. Set it to 0 to not |
| |
have flood protection." |
| |
WHERE a_key = "feedback_flood_timeout"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1388 function ezin_admin_maintenance_main($re |
|
| Line 1415 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("https_admin", "1")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("https_admin", "1")' |
| ); |
); |
| |
|
| |
// Feedback flood timeout |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Feedback flood timeout - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "feedback_flood_timeout"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'feedback_flood_timeout', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("feedback_flood_timeout", "30")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|
| if (!isset($_POST['action'])) { |
if (!isset($_POST['action'])) { |