Changeset 848 for trunk/Application/install.php
- Timestamp:
- Jan 17, 2016, 12:10:35 PM (9 years ago)
- Location:
- trunk/Application
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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.