From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • SSH
  • HTTPS

magic3: Commit


Commit MetaInfo

Revisión6177 (tree)
Tiempo2013-07-19 08:27:25
Autorfishbone

Log Message

(empty log message)

Cambiar Resumen

Diferencia incremental

--- src/trunk/magic3/include/manager/pageManager.php (revision 6176)
+++ src/trunk/magic3/include/manager/pageManager.php (revision 6177)
@@ -4120,6 +4120,9 @@
41204120 */
41214121 function downloadFile($filePath, $downloadFilename, $deleteFile=false)
41224122 {
4123+ // エラーチェック
4124+ if (!file_exists($filePath)) return false;
4125+
41234126 // ファイルサイズ取得
41244127 $fileSize = filesize($filePath);
41254128
Show on old repository browser