-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogdash-activity-log.php
49 lines (42 loc) · 1.39 KB
/
logdash-activity-log.php
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
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
*
* @link https://deryckoe.com/logdash-activity-log
* @package LogDash_Activity_Log
*
* @wordpress-plugin
* Plugin Name: LogDash Activity Log
* Plugin URI: https://deryckoe.com/logdash-activity-log
* Description: The ultimate solution for tracking activities and security issues on your WordPress site.
* Version: 1.1.5
* Author: Deryck Oñate
* Author URI: http://deryckoe.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: logdash-activity-log
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Currently plugin version.
*/
define( 'LOGDASH_VERSION', '1.1.5' );
/**
* Plugin paths
*/
define( 'LOGDASH_PLUGIN_FILE', __FILE__ );
define( 'LOGDASH_DIR', plugin_dir_path( __FILE__ ) );
define( 'LOGDASH_URL', plugins_url( '/', __FILE__ ) );
define( 'LOGDASH_LANGUAGES_DIR', basename( dirname( __FILE__ ) ) );
define( 'LOGDASH_DATE_FORMAT', 'd/m/Y' );
define( 'LOGDASH_TIME_FORMAT', 'g:i a' );
define( 'LOGDASH_TEMPLATES', LOGDASH_DIR . '/views' );
define( 'LOGDASH_DOMAIN', 'logdash-activity-log' );
define( 'LOGDASH_FINDIP_TOKEN', '176b7c2ae1c5455894a6fde5b9b67341' );
load_plugin_textdomain( LOGDASH_DOMAIN, false, LOGDASH_LANGUAGES_DIR . '/languages' );
// Composer autoload
require __DIR__ . '/vendor/autoload.php';
LogDash\ActivityLog::instance()->init();