forked from ZwiiCMS-Team/ZwiiCMS
12204 fix pre-update
This commit is contained in:
parent
b74a741bb7
commit
50a664638d
@ -17,7 +17,7 @@ if ($version['core']['dataVersion'] < 12000) {
|
||||
is_dir('site/data/' . $key) &&
|
||||
!is_dir('site/data/' . $value)
|
||||
) {
|
||||
rename('site/data/' . $key, self::DATA_DIR . $value);
|
||||
rename('site/data/' . $key, 'site/data/' . $value);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user