PluginProbe
Disable Comments & Delete All Comments / 1.0.9
Disable Comments & Delete All Comments v1.0.9
1.3.3 1.3.2 trunk 1.0.0 1.0.4 1.0.5 1.0.8 1.0.9 1.1.1 1.1.3 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.3.0 1.3.1
comments-plus / libs / factory / bootstrap / boot.php

boot.php in Disable Comments & Delete All Comments 1.0.9, at libs/factory/bootstrap/boot.php

37 lines 871 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Factory Bootstrap
4 *
5 * @author Alex Kovalev <alex.kovalevv@gmail.com>
6 * @copyright (c) 2018, Webcraftic Ltd
7 *
8 * @package factory-bootstrap
9 * @since 1.0.0
10 */
11
12 // Exit if accessed directly
13 if( !defined('ABSPATH') ) {
14 exit;
15 }
16
17 // module provides function only for the admin area
18 if( !is_admin() ) {
19 return;
20 }
21
22 if( defined('FACTORY_BOOTSTRAP_400_LOADED') ) {
23 return;
24 }
25 define('FACTORY_BOOTSTRAP_400_LOADED', true);
26
27 define('FACTORY_BOOTSTRAP_400_DIR', dirname(__FILE__));
28 define('FACTORY_BOOTSTRAP_400_URL', plugins_url(null, __FILE__));
29
30 // sets version of admin interface
31 define('FACTORY_BOOTSTRAP_400_VERSION', 'FACTORY_BOOTSTRAP_400');
32
33 if( !defined('FACTORY_FLAT_ADMIN') ) {
34 define('FACTORY_FLAT_ADMIN', true);
35 }
36
37 include_once(FACTORY_BOOTSTRAP_400_DIR . '/includes/functions.php');