mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
Merge remote-tracking branch 'refs/remotes/origin/php8' into php8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user