mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Merge branch 'master' of git://github.com/yiisoft/yii2
This commit is contained in:
@ -470,7 +470,7 @@ class AssetManager extends Component
|
||||
if (!is_dir($dstDir)) {
|
||||
symlink($src, $dstDir);
|
||||
}
|
||||
} elseif (!is_dir($dstDir) || !empty($options['forceCopy']) || (!isset($options['forceCopy']) && $this->forceCopy)) {
|
||||
} elseif (!empty($options['forceCopy']) || ($this->forceCopy && !isset($options['forceCopy'])) || !is_dir($dstDir)) {
|
||||
$opts = [
|
||||
'dirMode' => $this->dirMode,
|
||||
'fileMode' => $this->fileMode,
|
||||
|
Reference in New Issue
Block a user