mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
sushiShouldCache false
This commit is contained in:
@@ -32,12 +32,18 @@ class PluginStore extends Model
|
||||
{
|
||||
$list = self::listAll(true);
|
||||
$enabled = Plugin::listEnabled();
|
||||
// dd($list, $enabled);
|
||||
foreach ($list as $key => $row) {
|
||||
$list[$key]['installed_version'] = $enabled[$row['plugin_id']] ?? '';
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
protected function sushiShouldCache()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getBlogPostUrl(): string
|
||||
{
|
||||
return sprintf(self::BLOG_POST_URL, $this->post_id);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.9.5');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-06-20');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-06-22');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
Reference in New Issue
Block a user