mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 02:47:27 +08:00
backup export path configurable + fix some warning
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user