| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Performance Lab - SQLite module (Drop-in) |
| 4 |
* Description: Performance plugin from the WordPress Performance Team, which is a collection of standalone performance modules. |
| 5 |
* Version: 1.8.0 |
| 6 |
* Author: WordPress Performance Team |
| 7 |
* Author URI: https://make.wordpress.org/performance/ |
| 8 |
* |
| 9 |
* This file is auto-generated and copied from the performance-lab plugin. |
| 10 |
* Please don't edit this file directly. |
| 11 |
* |
| 12 |
* @package performance-lab |
| 13 |
*/ |
| 14 |
|
| 15 |
define( 'PERFLAB_SQLITE_DB_DROPIN_VERSION', '1.8.0' ); |
| 16 |
|
| 17 |
// Bail early if the SQLite implementation was not located in the performance-lab plugin. |
| 18 |
if ( ! file_exists( '{SQLITE_IMPLEMENTATION_FOLDER_PATH}/wp-includes/sqlite/db.php' ) ) { |
| 19 |
return; |
| 20 |
} |
| 21 |
|
| 22 |
// Define SQLite constant. |
| 23 |
if ( ! defined( 'DATABASE_TYPE' ) ) { |
| 24 |
define( 'DATABASE_TYPE', 'sqlite' ); |
| 25 |
} |
| 26 |
|
| 27 |
// Require the implementation from the performance-lab plugin. |
| 28 |
require_once '{SQLITE_IMPLEMENTATION_FOLDER_PATH}/wp-includes/sqlite/db.php'; |
| 29 |
|