Files
laps/laps.php
T

26 lines
602 B
PHP

<?php
/*
Plugin Name: Laps
Plugin URI: https://github.com/Rarst/laps
Description: Light WordPress profiler.
Author: Andrey “Rarst” Savchenko
Version: 3.0.1
Author URI: https://www.rarst.net/
Text Domain: laps
Domain Path: /lang
License: MIT
*/
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require __DIR__ . '/vendor/autoload.php';
}
if ( ! class_exists( '\Rarst\Laps\Plugin' ) ) {
trigger_error( 'Laps not fully installed! Please install with Composer or download full release archive.', E_USER_ERROR );
}
$laps = new \Rarst\Laps\Plugin();
$laps->run();