HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
const.php
Go to the documentation of this file.
1 <?php
2 defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', false);
3 defined('YII_ENABLE_EXCEPTION_HANDLER') or define('YII_ENABLE_EXCEPTION_HANDLER', false);
4 
5 define('DB_DATETIME_FORMAT', 'Y-m-d H:i:s');
6 define('DB_DATE_FORMAT', 'Y-m-d');
7 
8 /*$debugIPs = array(
9  '127.0.0.1' => true,
10  // ...
11 );
12 define('IS_PUBLIC_INSTALLATION', (!isset($debugIPs[$_SERVER['SERVER_ADDR']]) ? true : false));*/
13 
14 define('MAIN_MYSQL_HOST', $ini['MysqlHost']);
15 define('MAIN_MYSQL_USER', $ini['MysqlUser']);
16 define('MAIN_MYSQL_PASSWORD', $ini['MysqlPassword']);
17 define('PATH_TO_API', $ini['PathToApi']);
18 define('PATH_TO_API_DIR', $ini['PathToApiDir']);
19 define('PATH_TO_TMP_DIR', $ini['PathToTmpDir']);
20 define('MAX_URLS_INTEGRITY_CHECK', 1000);