webtools.config.php
2.57 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?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> |
+------------------------------------------------------------------------+
*/
/**
* @const PTOOLS_IP Allowed IP for access.
* Phalcon Developers Tools can only be used in local machine, however
* you can set this to allow certain IP address.
*
* For example:
* 192.168.0.1 or SUBNET 192., 10.0.2., 86.84.124.
*/
defined('PTOOLS_IP') || define('PTOOLS_IP', '192.168.');
defined('BASE_PATH') || define('BASE_PATH', dirname(dirname(__FILE__)));
defined('APP_PATH') || define('APP_PATH', BASE_PATH . DIRECTORY_SEPARATOR . 'app');
/**
* @const ENV_PRODUCTION Application production stage.
*/
defined('ENV_PRODUCTION') || define('ENV_PRODUCTION', 'production');
/**
* @const ENV_STAGING Application staging stage.
*/
defined('ENV_STAGING') || define('ENV_STAGING', 'staging');
/**
* @const ENV_DEVELOPMENT Application development stage.
*/
defined('ENV_DEVELOPMENT') || define('ENV_DEVELOPMENT', 'development');
/**
* @const ENV_TESTING Application test stage.
*/
defined('ENV_TESTING') || define('ENV_TESTING', 'testing');
/**
* @const APPLICATION_ENV Current application stage.
*/
defined('APPLICATION_ENV') || define('APPLICATION_ENV', getenv('APPLICATION_ENV') ?: ENV_DEVELOPMENT);
// ---------------------------- DO NOT EDIT BELOW ------------------------------
/**
* @const PTOOLSPATH The path to the Phalcon Developers Tools.
*/
defined('PTOOLSPATH') || define('PTOOLSPATH', '/var/www/phalcon-devtools');