Changeset 362
- Timestamp:
- 03/08/08 10:07:53 (4 months ago)
- Files:
-
- branches/2.3/classes/phing/system/io/FileSystem.php (modified) (1 diff)
- branches/2.3/classes/phing/system/io/PhingFile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.3/classes/phing/system/io/FileSystem.php
r353 r362 350 350 $success = @touch($path, $time); 351 351 if (!$success) { 352 throw new Exception("Could not create directorydue to: $php_errormsg");352 throw new Exception("Could not touch '" . $path . "' due to: $php_errormsg"); 353 353 } 354 354 } branches/2.3/classes/phing/system/io/PhingFile.php
r353 r362 688 688 } 689 689 690 // FIXME check if accessible 691 $fs = FileSystem::getFileSystem(); 692 if ($fs->checkAccess($this, true) !== true) { 693 throw new IOException("File::setLastModified(). No write access to file\n"); 694 } 690 $fs = FileSystem::getFileSystem(); 695 691 return $fs->setLastModifiedTime($this, $time); 696 692 }
