Changeset 848 for trunk/Application
- Timestamp:
- Jan 17, 2016, 12:10:35 PM (9 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r846 r848 2818 2818 function UpdateTo846($Manager) 2819 2819 { 2820 // Languages 2820 2821 $Manager->Execute('UPDATE `Language` SET `Name` = "English", `Code` = "en" WHERE `Language`.`Name` = "Angličtina";'); 2821 2822 $Manager->Execute('UPDATE `Language` SET `Name` = "Czech" WHERE `Language`.`Name` = "Čeština";'); 2822 2823 $Manager->Execute('UPDATE `Language` SET `Name` = "Slovak" WHERE `Language`.`Name` = "Slovenština";'); 2823 2824 2825 // Group names 2824 2826 $Manager->Execute('UPDATE `Group` SET `Name` = "Quests" WHERE `Group`.`Name` = "Výpravy"'); 2825 2827 $Manager->Execute('UPDATE `Group` SET `Name` = "Books" WHERE `Group`.`Name` = "Knížky"'); … … 2859 2861 } 2860 2862 2863 function UpdateTo848($Manager) 2864 { 2865 // Group item names 2866 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Title" WHERE `GroupItem`.`Name` = "Titulek"'); 2867 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Details" WHERE `GroupItem`.`Name` = "Podrobnosti"'); 2868 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objectives" WHERE `GroupItem`.`Name` = "Úkol"'); 2869 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Offered reward text" WHERE `GroupItem`.`Name` = "Text slíbené odměny"'); 2870 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Request items text" WHERE `GroupItem`.`Name` = "Popis požadovaných předmětů"'); 2871 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "End text" WHERE `GroupItem`.`Name` = "Závěrečný text"'); 2872 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 1" WHERE `GroupItem`.`Name` = "Text úkolu 1"'); 2873 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 2" WHERE `GroupItem`.`Name` = "Text úkolu 2"'); 2874 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 3" WHERE `GroupItem`.`Name` = "Text úkolu 3"'); 2875 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Objective text 4" WHERE `GroupItem`.`Name` = "Text úkolu 4"'); 2876 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Content" WHERE `GroupItem`.`Name` = "Obsah"'); 2877 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Name" WHERE `GroupItem`.`Name` = "Jméno"'); 2878 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Description" WHERE `GroupItem`.`Name` = "Popis"'); 2879 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Castbar caption" WHERE `GroupItem`.`Name` = "Popisek"'); 2880 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Subname" WHERE `GroupItem`.`Name` = "Druhé jméno"'); 2881 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Subname" WHERE `GroupItem`.`Name` = "Druhé jméno"'); 2882 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Help" WHERE `GroupItem`.`Name` = "Nápověda"'); 2883 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Default content" WHERE `GroupItem`.`Name` = "Výchozí obsah"'); 2884 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Comment" WHERE `GroupItem`.`Name` = "Komentář"'); 2885 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Rank" WHERE `GroupItem`.`Name` = "Hodnost"'); 2886 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Shortcut" WHERE `GroupItem`.`Name` = "Zkratka"'); 2887 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Option text" WHERE `GroupItem`.`Name` = "Text možnosti"'); 2888 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Title" WHERE `GroupItem`.`Name` = "Název"'); 2889 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Reward" WHERE `GroupItem`.`Name` = "Odměna"'); 2890 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Criteria" WHERE `GroupItem`.`Name` = "Kritérium"'); 2891 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Location" WHERE `GroupItem`.`Name` = "Umístění"'); 2892 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Location 2" WHERE `GroupItem`.`Name` = "Umístění 2"'); 2893 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "State" WHERE `GroupItem`.`Name` = "Stav"'); 2894 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Short name" WHERE `GroupItem`.`Name` = "Zkrácené jméno"'); 2895 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Comprimed name" WHERE `GroupItem`.`Name` = "Zhuštěný název"'); 2896 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 1" WHERE `GroupItem`.`Name` = "Vzhled 1"'); 2897 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 2" WHERE `GroupItem`.`Name` = "Vzhled 2"'); 2898 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Facial 3" WHERE `GroupItem`.`Name` = "Vzhled 3"'); 2899 $Manager->Execute('UPDATE `GroupItem` SET `Name` = "Unified" WHERE `GroupItem`.`Name` = "Jednotné"'); 2900 } 2901 2861 2902 $Updates = array( 2862 2903 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2888 2929 803 => array('Revision' => 811, 'Function' => 'UpdateTo811'), 2889 2930 811 => array('Revision' => 846, 'Function' => 'UpdateTo846'), 2931 846 => array('Revision' => 848, 'Function' => 'UpdateTo848'), 2890 2932 ); -
trunk/Application/Version.php
r847 r848 6 6 // and system will need database update. 7 7 8 $Revision = 84 7; // Subversion revision9 $DatabaseRevision = 84 6; // Database structure revision10 $ReleaseTime = '2016-01-1 5';8 $Revision = 848; // Subversion revision 9 $DatabaseRevision = 848; // Database structure revision 10 $ReleaseTime = '2016-01-17'; -
trunk/Application/install.php
r843 r848 2 2 3 3 include_once(dirname(__FILE__).'/../Packages/Common/Common.php'); 4 include_once(dirname(__FILE__).'/../includes/ global.php');5 include_once(dirname(__FILE__).'/../includes/ system.php');4 include_once(dirname(__FILE__).'/../includes/Global.php'); 5 include_once(dirname(__FILE__).'/../includes/System.php'); 6 6 include_once(dirname(__FILE__).'/../includes/Update.php'); 7 if(file_exists(dirname(__FILE__).'/../ includes/config.php'))8 include_once(dirname(__FILE__).'/../ includes/config.php');7 if(file_exists(dirname(__FILE__).'/../Config/Config.php')) 8 include_once(dirname(__FILE__).'/../Config/Config.php'); 9 9 include_once(dirname(__FILE__).'/UpdateTrace.php'); 10 10 include_once(dirname(__FILE__).'/DefaultConfig.php'); 11 include_once(dirname(__FILE__).'/../ includes/Version.php');11 include_once(dirname(__FILE__).'/../Version.php'); 12 12 include_once(dirname(__FILE__).'/../includes/Locale.php'); 13 13 … … 39 39 { 40 40 $Output = ''; 41 if(!file_exists('../ includes/config.php') and !is_writable('../includes'))41 if(!file_exists('../Config/Config.php') and !is_writable('../Config')) 42 42 $Output .= 'Varování: Konfigurační soubor nebude možné zapsat, protože složka includes není povolená pro zápis!'; 43 if(file_exists('../ includes/config.php') and !is_writable('../includes/config.php'))43 if(file_exists('../Config/Config.php') and !is_writable('../Config/Config.php')) 44 44 $Output .= 'Varování: Konfigurační soubor nebude možné zapsat, protože soubor config.php není povolen pro zápis!'; 45 45 $Output .= '<h3>Nastavení systému</h3>'. … … 81 81 if(array_key_exists('ItemsPerPage', $_POST)) $Config['Web']['ItemsPerPage'] = $_POST['ItemsPerPage']; 82 82 $ConfigText = CreateConfig($Config); 83 file_put_contents('../ includes/config.php', $ConfigText);83 file_put_contents('../Config/Config.php', $ConfigText); 84 84 $Output .= 'Konfigurace nastavena<br/>'; 85 85 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.