Merge branch 'develop' into trunk
This commit is contained in:
commit
e951e4b2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class Site extends Model
|
|||
$newPath = Site::ticketAssetsFullPath($site->slug_name);
|
||||
if (File::exists($oldPath)) {
|
||||
File::move($oldPath, $newPath);
|
||||
} else {
|
||||
} elseif (!File::exists($newPath)) {
|
||||
File::makeDirectory($newPath, 0755, true);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue