1 stream_wrappers.inc | BackdropLocalStreamWrapper::chmod($mode) |
Base implementation of chmod().
Overrides BackdropStreamWrapperInterface::chmod
File
- core/
includes/ stream_wrappers.inc, line 341 - Backdrop stream wrapper interface.
Class
- BackdropLocalStreamWrapper
- Backdrop stream wrapper base class for local files.
Code
function chmod($mode) {
$output = @chmod($this->getLocalPath(), $mode);
// We are modifying the underlying file here, so we have to clear the stat
// cache so that PHP understands that URI has changed too.
clearstatcache();
return $output;
}