FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
phalcon-devtools/webtools.php at master · rootworkit/phalcon-devtools · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
rootworkit
/
phalcon-devtools
Public
forked from
phalcon/phalcon-devtools
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
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
37 lines (32 loc) · 1.55 KB
Breadcrumbs
phalcon-devtools
/
webtools.php
Copy path
File metadata and controls
37 lines (32 loc) · 1.55 KB
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
34
35
36
37
<?php
/*
+------------------------------------------------------------------------+
| Phalcon Developer Tools |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2016 Phalcon Team (https://www.phalconphp.com) |
+------------------------------------------------------------------------+
| This source file is subject to the New BSD License that is bundled |
| with this package in the file LICENSE.txt. |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send an email |
| to license@phalconphp.com so we can send you a copy immediately. |
+------------------------------------------------------------------------+
| Authors: Andres Gutierrez <andres@phalconphp.com> |
| Eduar Carvajal <eduar@phalconphp.com> |
| Serghei Iakovlev <serghei@phalconphp.com> |
+------------------------------------------------------------------------+
*/
use
Phalcon
\
Bootstrap
;
include
'
webtools.config.php
'
;
include
PTOOLSPATH
.
'
/bootstrap/autoload.php
'
;
$
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