Merge remote-tracking branch 'refs/remotes/origin/php8' into php8

This commit is contained in:
xiaomlove
2021-01-25 01:23:43 +08:00

View File

@@ -4420,4 +4420,12 @@ function saveSetting($prefix, $nameAndValue)
sql_query($sql) or sqlerr(__FILE__, __LINE__);
}
function getFullDirectory($dir)
{
if (!is_dir($dir)) {
$dir = ROOT_PATH . $dir;
}
return realpath($dir);
}
?>