backup export path configurable + fix some warning

This commit is contained in:
xiaomlove
2025-05-13 02:27:58 +07:00
parent a3ad2cc2c4
commit 18449ff185
14 changed files with 33 additions and 18 deletions
+3 -3
View File
@@ -4287,10 +4287,10 @@ function permissiondenied($allowMinimumClass = null){
}
function gettime($time, $withago = true, $twoline = false, $forceago = false, $oneunit = false, $isfuturetime = false){
if (empty($time)) {
return null;
}
if (!IN_NEXUS) {
if (empty($time)) {
return null;
}
try {
return \Carbon\Carbon::parse($time)->diffForHumans();
} catch (\Exception $e) {