mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Removed all @mkdir() calls
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user