mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
11 lines
390 B
PHP
11 lines
390 B
PHP
<?php
|
|
|
|
// Ensure compatibility with PHP 7.2 ("object" is a reserved word),
|
|
// with SilverStripe 3.6 (using Object) and SilverStripe 3.7 (using SS_Object)
|
|
if (!class_exists('SS_Object')) class_alias('Object', 'SS_Object');
|
|
|
|
global $databaseConfig;
|
|
if (isset($databaseConfig['type'])) SearchUpdater::bind_manipulation_capture();
|
|
|
|
Deprecation::notification_version('1.0.0', 'fulltextsearch');
|