FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
phalcon-devtools/webtools.php at master · gitlapple/phalcon-devtools · GitHub
gitlapple
/
phalcon-devtools
Public
forked from
phalcon/phalcon-devtools
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
phalcon-devtools
/
webtools.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (28 loc) · 676 Bytes
Breadcrumbs
phalcon-devtools
/
webtools.php
Copy path
File metadata and controls
33 lines (28 loc) · 676 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<?php
/**
* This file is part of the Phalcon Developer Tools.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use
Phalcon
\
DevTools
\
Bootstrap
;
/**
* @psalm-suppress MissingFile
*/
include
'
webtools.config.php
'
;
include
PTOOLSPATH
.
'
/bootstrap/autoload.php
'
;
/**
* @psalm-suppress UndefinedConstant
*/
$
bootstrap
=
new
Bootstrap
([
'
ptools_path
'
=>
PTOOLSPATH
,
'
ptools_ip
'
=>
PTOOLS_IP
,
'
base_path
'
=>
BASE_PATH
,
]);
if
(
APPLICATION_ENV
===
ENV_TESTING
) {
return
$
bootstrap
->
run
();
}
else
{
echo
$
bootstrap
->
run
();
}
Back
|
FazBrowse Home
|
New Git URL