Browse
For agents
About
Visual Composer Website Builder
/
45.0.1
Visual Composer Website Builder
v45.0.1
Switch version
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
45.0.1
45.1-beta.1
All 40 releases
Overview
Code
visualcomposer
/
bootstrap
/
app.php
app.php
in Visual Composer Website Builder 45.0.1, at bootstrap/app.php
22 lines
482 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
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
* Start the application.
11
*/
12
$
app
=
new
VisualComposer
\
Application
(
VCV_PLUGIN_DIR_PATH
)
;
13
add_action
(
14
'
vcv:boot
'
,
15
function
(
)
{
16
/**
@see
\VisualComposer\Framework\Autoload::__construct
*/
17
vcapp
(
'
Autoload
'
)
;
18
}
,
19
9
//
priority is smaller than default, so 3rd can hook into with all core components registered.
20
)
;
21
$
app
->
boot
(
)
;
22