Changeset 384
- Timestamp:
- Mar 14, 2010, 10:30:08 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/stream.php
r247 r384 1 1 <?php 2 2 3 define('FILE_NOT_FOUND', 'Soubor nenalezen.');3 define('FILE_NOT_FOUND', 'Soubor "%s" nenalezen.'); 4 4 5 5 class FileStream … … 24 24 $this->CloseFile(); 25 25 $this->Handle = fopen($FileName, 'rb'); 26 if(!$this->Handle) die( FILE_NOT_FOUND);26 if(!$this->Handle) die(str_replace('%s', $FileName, FILE_NOT_FOUND)); 27 27 } 28 28 … … 32 32 $this->CloseFile(); 33 33 $this->Handle = fopen($FileName, 'wb+'); 34 if(!$this->Handle) die( FILE_NOT_FOUND);34 if(!$this->Handle) die(str_replace('%s', $FileName, FILE_NOT_FOUND)); 35 35 } 36 36
Note:
See TracChangeset
for help on using the changeset viewer.