forked from yffaffy/rollbar
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathrollbar.php
More file actions
executable file
·37 lines (30 loc) · 913 Bytes
/
rollbar.php
File metadata and controls
executable file
·37 lines (30 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Plugin Name: Rollbar
* Plugin URI: https://wordpress.org/plugins/rollbar
* Description: Rollbar full-stack error tracking for WordPress.
* Version: 3.1.1
* Author: Rollbar
* Author URI: https://rollbar.com
* Text Domain: rollbar
* License: Proprietary
* Requires PHP: 8.1
* Tested up to: 6.9
* Requires at least: 6.5
*
* @package Rollbar\WordPress
* @copyright Rollbar, Inc.
*/
// phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
// Exit if accessed directly
defined('ABSPATH') || exit;
const ROLLBAR_PLUGIN_FILE = __FILE__;
const ROLLBAR_PLUGIN_DIR = __DIR__;
if (!defined('ROLLBAR_NO_VENDOR')) {
define('ROLLBAR_NO_VENDOR', false);
}
if (false === constant('ROLLBAR_NO_VENDOR')) {
require_once ROLLBAR_PLUGIN_DIR . '/vendor/autoload.php';
}
const ROLLBAR_PLUGIN_VERSION = \Rollbar\WordPress\Plugin::VERSION;
\Rollbar\WordPress\Plugin::getInstance();