Permalink
Browse files

fix(installer): don't fatal trying to rewrite the .htaccess file

We forgot to add `Elgg\Filesystem\File::putContents` when the these file
system objects were added.

Fixes #9334
  • Loading branch information...
mrclay committed Feb 1, 2016
1 parent 580f507 commit 5e74932b525beb8cdc26353e9e084612cc699e06
Showing with 10 additions and 0 deletions.
  1. +10 −0 engine/classes/Elgg/Filesystem/File.php
@@ -49,6 +49,16 @@ public function getBasename() {
public function getContents() {
return $this->directory->getContents($this->path);
}
/**
* Put content into this file.
*
* @param string $content File content
* @return void
*/
public function putContents($content) {
$this->directory->putContents($this->path, $content);
}
/**
* @return string The file's extension.

0 comments on commit 5e74932

Please sign in to comment.