Something went wrong. Try again.
A fork of the open source relavanssi-light plugin, adapted to work with SQLite on Wordpress. SQlite has better default search than MySQL/MariaDB, so why not use it if you run WordPress on it?
wordpress sqlite ci search fts5
Something went wrong. Try again.
568 B · 17 lines
PHP
123456789101112131415161718<?phpdefine( 'DB_NAME', 'dummy' );define( 'DB_USER', 'dummy' );define( 'DB_PASSWORD', 'dummy' );define( 'DB_HOST', 'localhost' );define( 'DB_CHARSET', 'utf8' );define( 'DB_COLLATE', '' );
$table_prefix = 'wptests_';define( 'WP_TESTS_DOMAIN', 'example.org' );define( 'WP_TESTS_EMAIL', 'admin@example.org' );define( 'WP_TESTS_TITLE', 'Test Blog' );define( 'WP_PHP_BINARY', 'php' );
// SQLite: store DB file in temp dir for throwaway test runsdefine( 'DB_DIR', sys_get_temp_dir() . '/relevanssi-light-sqlite-test' );define( 'DB_FILE', '.ht.sqlite' );