Changeset 874 for trunk/Modules/File/File.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/File/File.php
r873 r874 38 38 } 39 39 } 40 return ($Result);40 return $Result; 41 41 } 42 42 … … 46 46 47 47 $Result = $MimeTypes[pathinfo($FileName, PATHINFO_EXTENSION)][0]; 48 return ($Result);48 return $Result; 49 49 } 50 50 … … 74 74 else $Result = $this->FilesDir; 75 75 $Result .= $DbRow['Name'].'/'; 76 return ($Result);76 return $Result; 77 77 } 78 78 } … … 85 85 if (array_key_exists('id', $_GET)) $Id = $_GET['id']; 86 86 else if (array_key_exists('i', $_GET)) $Id = $_GET['i']; 87 else return ($this->SystemMessage('Chyba', 'Nezadáno id souboru'));87 else return $this->SystemMessage('Chyba', 'Nezadáno id souboru'); 88 88 $this->ClearPage = true; 89 89 $Output = $this->System->Modules['File']->Download($Id); 90 return ($Output);90 return $Output; 91 91 } 92 92 }
Note:
See TracChangeset
for help on using the changeset viewer.