Removed all @mkdir() calls

This commit is contained in:
Shoghi Cervantes
2015-01-02 18:52:45 +01:00
parent 692045d714
commit f46473bbe8
7 changed files with 40 additions and 12 deletions

View File

@ -202,7 +202,9 @@ abstract class PluginBase implements Plugin{
$out = $this->dataFolder . $filename;
if(!file_exists($this->dataFolder)){
@mkdir($this->dataFolder, 0755, true);
if(!file_exists($this->dataFolder)){
mkdir($this->dataFolder, 0755, true);
}
}
if(file_exists($out) and $replace !== true){