PluginProbe
Visual Composer Website Builder / 45.16.4
Visual Composer Website Builder v45.16.4
45.16.4 45.16.3 45.16.2 45.16.1 45.2-beta.1 45.2-beta.2 45.2.0 45.3-beta.1 45.3.0 45.4-beta.1 45.4.0 45.4.1 45.4.1-beta.2 45.5-beta.1 45.5.0 45.6-beta.1 45.6.0 45.7-beta.1 45.7.0 45.8-beta.1 45.8.0 45.9.0 trunk 45.0 45.0-beta.1 All 42 releases
visualcomposer / bootstrap / autoload.php

autoload.php in Visual Composer Website Builder 45.16.4, at bootstrap/autoload.php

34 lines 873 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) {
4 header('Status: 403 Forbidden');
5 header('HTTP/1.1 403 Forbidden');
6 exit;
7 }
8
9 /**
10 * Register The Composer Auto Loader.
11 *
12 * Composer provides a convenient, automatically generated class loader
13 * for our application. We just need to utilize it! We'll require it
14 * into the script here so that we do not have to worry about the
15 * loading of any our classes "manually".
16 *
17 **/
18 $dir = dirname(__FILE__);
19 require_once $dir . '/../vendor/autoload.php';
20 require_once $dir . '/../visualcomposer/Framework/no-escape.php';
21 require_once $dir . '/../visualcomposer/Framework/helpers.php';
22
23 if (VCV_LAZY_LOAD) {
24 add_action('vcv:bootstrap:lazyload', 'vcvboot');
25 } else {
26 vcvboot();
27 }
28
29 /**
30 * Add action for init state.
31 */
32 add_action('init', 'vcvinit', 21); // 20 used in tablepress
33 add_action('admin_init', 'vcvadmininit', 21);
34