Changeset 848 for trunk/includes
- Timestamp:
- Jan 17, 2016, 12:10:35 PM (9 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Global.php
r847 r848 2 2 3 3 include_once(dirname(__FILE__).'/../Packages/Common/Common.php'); 4 include_once(dirname(__FILE__).'/ system.php');4 include_once(dirname(__FILE__).'/System.php'); 5 5 include_once(dirname(__FILE__).'/Update.php'); 6 6 include_once(dirname(__FILE__).'/PageEdit.php'); 7 if(file_exists(dirname(__FILE__).'/ config.php'))8 include_once(dirname(__FILE__).'/ config.php');9 include_once(dirname(__FILE__).'/ Version.php');7 if(file_exists(dirname(__FILE__).'/../Config/Config.php')) 8 include_once(dirname(__FILE__).'/../Config/Config.php'); 9 include_once(dirname(__FILE__).'/../Application/Version.php'); 10 10 include_once(dirname(__FILE__).'/Locale.php'); 11 11 require_once(dirname(__FILE__).'/../HTML/BBCodeParser2.php'); … … 314 314 if($Selected == '') 315 315 $Output .= ' selected="selected"'; 316 $Output .= '> Žádná</option>';316 $Output .= '>'.T('None').'</option>'; 317 317 while($ClientVersion = $DbResult->fetch_assoc()) 318 318 { -
trunk/includes/System.php
r847 r848 99 99 $UpdateManager->Database = $this->Database; 100 100 $UpdateManager->Revision = $DatabaseRevision; 101 if(!$UpdateManager->IsInstalled()) die('Systém vyžaduje instalaci databáze. ');102 if(!$UpdateManager->IsUpToDate()) die('Systém vyžaduje aktualizaci databáze. ');101 if(!$UpdateManager->IsInstalled()) die('Systém vyžaduje instalaci databáze. Pokračujte <a href="'.$this->Link('/Application/install.php').'">zde</a>'); 102 if(!$UpdateManager->IsUpToDate()) die('Systém vyžaduje aktualizaci databáze. Pokračujte <a href="'.$this->Link('/Application/install.php').'">zde</a>'); 103 103 104 104 // SQL injection hack protection
Note:
See TracChangeset
for help on using the changeset viewer.