镜像自地址
https://github.com/nextcloud/server.git
已同步 2024-09-02 05:55:17 +02:00
Check if realpath() returns false
realpath() returns false in case the directory does not exist. Found it while preparing strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
这个提交包含在:
父节点
e4e39910f3
当前提交
1efde41333
@ -186,7 +186,7 @@ class MigrationService {
|
||||
|
||||
protected function findMigrations() {
|
||||
$directory = realpath($this->migrationsPath);
|
||||
if (!file_exists($directory) || !is_dir($directory)) {
|
||||
if ($directory === false || !file_exists($directory) || !is_dir($directory)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户