mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Code formatting for #9288
This commit is contained in:
@ -462,7 +462,7 @@ class BaseFileHelper
|
||||
$result = mkdir($path, $mode);
|
||||
chmod($path, $mode);
|
||||
} catch (\Exception $e) {
|
||||
if(is_dir($path)){ // #9288
|
||||
if (is_dir($path)) { // https://github.com/yiisoft/yii2/issues/9288
|
||||
return true;
|
||||
}
|
||||
throw new \yii\base\Exception("Failed to create directory '$path': " . $e->getMessage(), $e->getCode(), $e);
|
||||
|
||||
Reference in New Issue
Block a user