mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
invite pager get list only in count > 0
This commit is contained in:
@@ -11,7 +11,7 @@ class Setting extends NexusModel
|
||||
|
||||
public static function get($name = null, $default = null)
|
||||
{
|
||||
$settings = NexusDB::remember("nexus_settings_in_laravel", 10, function () {
|
||||
$settings = NexusDB::remember("nexus_settings_in_laravel", 600, function () {
|
||||
return self::getFromDb();
|
||||
});
|
||||
if (is_null($name)) {
|
||||
|
||||
Reference in New Issue
Block a user