Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/admin/inc-db/maintenance.inc.php between version 1.13 and 1.14

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

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top