- Timestamp:
- Sep 8, 2020, 5:57:23 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r882 r885 2128 2128 { 2129 2129 $Manager->Execute('ALTER TABLE `FinanceMonthlyOverall` CHANGE `Investment` `Investment` INT(11) NOT NULL DEFAULT "0";'); 2130 } 2131 2132 function UpdateTo885($Manager) 2133 { 2134 $Manager->Execute('ALTER TABLE `FinanceOperation` CHANGE `Value` `Value` FLOAT NOT NULL DEFAULT "0";'); 2130 2135 } 2131 2136 … … 2233 2238 878 => array('Revision' => 880, 'Function' => 'UpdateTo880'), 2234 2239 880 => array('Revision' => 882, 'Function' => 'UpdateTo882'), 2240 882 => array('Revision' => 885, 'Function' => 'UpdateTo885'), 2235 2241 ); 2236 2242 } -
trunk/Application/Version.php
r884 r885 1 1 <?php 2 2 3 $Revision = 88 4; // Subversion revision4 $DatabaseRevision = 88 2; // SQL structure revision3 $Revision = 885; // Subversion revision 4 $DatabaseRevision = 885; // SQL structure revision 5 5 $ReleaseTime = strtotime('2020-09-08'); -
trunk/Modules/File/File.php
r876 r885 43 43 function DetectMimeType($FileName) 44 44 { 45 global $MimeTypes;46 47 $Result = $MimeTypes[ pathinfo($FileName, PATHINFO_EXTENSION)][0];45 $MimeTypes = GetMimeTypes(); 46 $MimeType = pathinfo($FileName, PATHINFO_EXTENSION); 47 $Result = $MimeTypes[$MimeType][0]; 48 48 return $Result; 49 49 } -
trunk/Modules/File/MimeTypes.php
r738 r885 1 1 <?php 2 2 3 $MimeTypes = array( 3 function GetMimeTypes() 4 { 5 return array( 4 6 '7z' => array('application/x-7z-compressed'), 5 7 'ai' => array('application/postscript'), … … 123 125 'xsl' => array('text/xml'), 124 126 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed') 125 ); 127 ); 128 }
Note:
See TracChangeset
for help on using the changeset viewer.