Skip to content
Snippets Groups Projects

Master

Merged Ghislain Loas requested to merge master into WIP
Compare and
+ 74
32
Preferences
Compare changes
Files
@@ -25,19 +25,28 @@ class Class_FileWriter {
return file_put_contents($path, $contents);
}
public function fileExists($path) {
return file_exists($path);
}
public function dirExists($path) {
return is_dir($path);
}
public function isWritable($path) {
return is_writable($path);
}
public function mkdir($directory_name) {
return mkdir($directory_name,0777,true);
}
public function getContents($path) {
return file_get_contents($path);
}