Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (20 sloc) 0.722 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php
/*
Plugin Name: Lift Search
Version: 1.7.0
Plugin URI: http://getliftsearch.com/
Description: Improves WordPress search using Amazon CloudSearch
Author: Voce Platforms
Author URI: http://voceconnect.com/
*/

if ( version_compare( phpversion(), '5.3.0', '>=') ) {
require_once('lift-core.php');
}

function _lift_php_version_check() {
    if ( !class_exists( 'Lift_Search' ) ) {
        die( '<p style="font: 12px/1.4em sans-serif;"><strong>Lift Search requires PHP version 5.3 or higher. Installed version is: ' . phpversion() . '</strong></p>' );
    } elseif ( function_exists('_lift_activation') ) {
     _lift_activation();
    }
}

register_activation_hook( __FILE__, '_lift_php_version_check' );
Something went wrong with that request. Please try again.