Changeset 613
- Timestamp:
- Dec 20, 2013, 9:04:09 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r612 r613 1 1 <?php 2 2 3 $Revision = 61 2; // Subversion revision3 $Revision = 613; // Subversion revision 4 4 $DatabaseRevision = 601; // SQL structure revision 5 $ReleaseTime = '2013-12- 16';5 $ReleaseTime = '2013-12-20'; -
trunk/Common/AppModule.php
r597 r613 244 244 (!$Module->Installed and in_array(ModuleCondition::NotInstalled, $Conditions)))) 245 245 { 246 array_push($List, $ DepModule);247 $this->EnumSuperiorDependenciesCascade($ DepModule, $List, $Conditions);246 array_push($List, $RefModule); 247 $this->EnumSuperiorDependenciesCascade($RefModule, $List, $Conditions); 248 248 } 249 249 } -
trunk/Common/Setup/Setup.php
r595 r613 55 55 $Output .= '<a href="?action=upgrade">Povýšit</a> '; 56 56 $Output .= '<a href="?action=insert_sample_data">Vložit vzorová data</a> '; 57 $Output .= '<a href="?action=reload_modules">Obnovit seznam modulů</a> '; 57 58 $Output .= '<a href="?action=uninstall">Odinstalovat</a> '; 58 59 $Output .= '<a href="?action=modules">Správa modulů</a> '; … … 103 104 $Output .= '<h3>Instalace</h3>'; 104 105 $this->System->Setup->Install(); 105 $Output .= $this->System->Setup->Upgrade(); 106 $this->System->ModuleManager->LoadModules(); 107 $this->System->ModuleManager->SaveState(); 108 //$Output .= $this->System->Setup->Upgrade(); 106 109 $Output .= $this->ControlPanel(); 107 110 } else … … 110 113 $Output .= '<h3>Odinstalace</h3>'; 111 114 $this->System->Setup->Uninstall(); 115 $Output .= $this->ControlPanel(); 116 } else 117 if($Action == 'reload_modules') 118 { 119 $Output .= '<h3>Znovunačtení seznamu modulů</h3>'; 120 $this->System->ModuleManager->LoadModules(); 121 $this->System->ModuleManager->SaveState(); 112 122 $Output .= $this->ControlPanel(); 113 123 } else … … 392 402 function Install() 393 403 { 404 global $DatabaseRevision; 405 394 406 $this->Database->query('CREATE TABLE IF NOT EXISTS `SystemVersion` ( 395 407 `Id` int(11) NOT NULL AUTO_INCREMENT, … … 398 410 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 399 411 $this->Database->query("INSERT INTO `SystemVersion` (`Id`, `Revision`) VALUES 400 (1, 591);");412 (1, '.$DatabaseRevision.');"); 401 413 $this->Database->query("CREATE TABLE IF NOT EXISTS `Module` ( 402 414 `Id` int(11) NOT NULL AUTO_INCREMENT,
Note:
See TracChangeset
for help on using the changeset viewer.