mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 02:34:44 +00:00
Auto reload the current page when the database has changed and when idling (closes #59)
This commit is contained in:
@@ -63,4 +63,9 @@ class DatabaseService
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function GetDbChangedTime()
|
||||
{
|
||||
return date('Y-m-d H:i:s', filemtime(GROCY_DATAPATH . '/grocy.db'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user