mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
meilisearch improt think about enabled
This commit is contained in:
@@ -96,6 +96,9 @@ class MeiliSearchRepository extends BaseRepository
|
||||
|
||||
public function import()
|
||||
{
|
||||
if (!$this->isEnabled()) {
|
||||
return 0;
|
||||
}
|
||||
$client = $this->getClient();
|
||||
$stats = $client->stats();
|
||||
if (isset($stats['indexes'][self::INDEX_NAME])) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.12');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2024-06-22');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2024-06-24');
|
||||
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