Changeset 880
- Timestamp:
- Sep 4, 2020, 9:30:13 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r878 r880 2116 2116 $Manager->Execute('ALTER TABLE `NewsImport` ADD PRIMARY KEY (`Id`);'); 2117 2117 $Manager->Execute('ALTER TABLE `NewsImport` MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;'); 2118 } 2119 2120 function UpdateTo880($Manager) 2121 { 2122 $Manager->Execute('ALTER TABLE `UserOnline` CHANGE `IpAddress` `IpAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';'); 2123 $Manager->Execute('ALTER TABLE `User` CHANGE `LastIpAddress` `LastIpAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';'); 2124 $Manager->Execute('ALTER TABLE `Log` CHANGE `IPAddress` `IPAddress` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;'); 2118 2125 } 2119 2126 … … 2219 2226 869 => array('Revision' => 870, 'Function' => 'UpdateTo870'), 2220 2227 870 => array('Revision' => 878, 'Function' => 'UpdateTo878'), 2228 878 => array('Revision' => 880, 'Function' => 'UpdateTo880'), 2221 2229 ); 2222 2230 } -
trunk/Application/Version.php
r879 r880 1 1 <?php 2 2 3 $Revision = 8 79; // Subversion revision4 $DatabaseRevision = 8 78; // SQL structure revision5 $ReleaseTime = strtotime('2020-0 7-24');3 $Revision = 880; // Subversion revision 4 $DatabaseRevision = 880; // SQL structure revision 5 $ReleaseTime = strtotime('2020-09-04'); -
trunk/Install/deb/debian/conf/apache.conf
r853 r880 6 6 DirectoryIndex index.php 7 7 AllowOverride All 8 Require all granted 8 9 </Directory> -
trunk/Packages/Common/AppModule.php
r874 r880 363 363 'Version' => $Module->Version, 'Installed' => $Module->Installed); 364 364 } 365 file_put_contents($this->FileName, "<?php \n\n\$ConfigModules = ".var_export($Data, true).";\n"); 365 if (file_put_contents($this->FileName, "<?php \n\n\$ConfigModules = ".var_export($Data, true).";\n") === FALSE) 366 { 367 echo($this->FileName.' is not writeable.'); 368 } 366 369 } 367 370 … … 394 397 function LoadModules() 395 398 { 396 if ( method_exists($this->OnLoadModules[0], $this->OnLoadModules[1]))399 if (is_array($this->OnLoadModules) and (count($this->OnLoadModules) == 2) and method_exists($this->OnLoadModules[0], $this->OnLoadModules[1])) 397 400 $this->OnLoadModules(); 398 401 else $this->LoadModulesFromDir($this->ModulesDir);
Note:
See TracChangeset
for help on using the changeset viewer.