further check
This commit is contained in:
parent
70b8a31b55
commit
ee0e55c10b
@ -114,6 +114,11 @@ class ChatlogPlugin implements CallbackListener, Plugin {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!is_writable($folderDir)) {
|
||||||
|
trigger_error("ChatlogPlugin Log-Folder isn't writable! {$folderName}'!");
|
||||||
|
$this->fileName = null;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$fileName = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_FILENAME);
|
$fileName = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_FILENAME);
|
||||||
$fileName = FileUtil::getClearedFileName($fileName);
|
$fileName = FileUtil::getClearedFileName($fileName);
|
||||||
$usePId = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_USEPID);
|
$usePId = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_USEPID);
|
||||||
|
Loading…
Reference in New Issue
Block a user