?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php errors. If
| error_reporting is disabled, the backtrace will not display, regardless
| of this setting
|
*/
defined('SHOW_DEBUG_BACKTRACE') OR define('SHOW_DEBUG_BACKTRACE', TRUE);
/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system. The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
| always be used to set the mode correctly.
|
*/
defined('FILE_READ_MODE') OR define('FILE_READ_MODE', 0644);
defined('FILE_WRITE_MODE') OR define('FILE_WRITE_MODE', 0666);
defined('DIR_READ_MODE') OR define('DIR_READ_MODE', 0755);
defined('DIR_WRITE_MODE') OR define('DIR_WRITE_MODE', 0755);
/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/
defined('FOPEN_READ') OR define('FOPEN_READ', 'rb');
defined('FOPEN_READ_WRITE') OR define('FOPEN_READ_WRITE', 'r+b');
defined('FOPEN_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
defined('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
defined('FOPEN_WRITE_CREATE') OR define('FOPEN_WRITE_CREATE', 'ab');
defined('FOPEN_READ_WRITE_CREATE') OR define('FOPEN_READ_WRITE_CREATE', 'a+b');
defined('FOPEN_WRITE_CREATE_STRICT') OR define('FOPEN_WRITE_CREATE_STRICT', 'xb');
defined('FOPEN_READ_WRITE_CREATE_STRICT') OR define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
/*
|--------------------------------------------------------------------------
| Exit Status Codes
|--------------------------------------------------------------------------
|
| Used to indicate the conditions under which the script is exit()ing.
| While there is no universal standard for error codes, there are some
| broad conventions. Three such conventions are mentioned below, for
| those who wish to make use of them. The CodeIgniter defaults were
| chosen for the least overlap with these conventions, while still
| leaving room for others to be defined in future versions and user
| applications.
|
| The three main conventions used for determining exit status codes
| are as follows:
|
| Standard C/C++ Library (stdlibc):
| http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
| (This link also contains other GNU-specific conventions)
| BSD sysexits.h:
| http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
| Bash scripting:
| http://tldp.org/LDP/abs/html/exitcodes.html
|
*/
defined('EXIT_SUCCESS') OR define('EXIT_SUCCESS', 0); // no errors
defined('EXIT_ERROR') OR define('EXIT_ERROR', 1); // generic error
defined('EXIT_CONFIG') OR define('EXIT_CONFIG', 3); // configuration error
defined('EXIT_UNKNOWN_FILE') OR define('EXIT_UNKNOWN_FILE', 4); // file not found
defined('EXIT_UNKNOWN_CLASS') OR define('EXIT_UNKNOWN_CLASS', 5); // unknown class
defined('EXIT_UNKNOWN_METHOD') OR define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
defined('EXIT_USER_INPUT') OR define('EXIT_USER_INPUT', 7); // invalid user input
defined('EXIT_DATABASE') OR define('EXIT_DATABASE', 8); // database error
defined('EXIT__AUTO_MIN') OR define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
defined('MAIN_URL') or define('MAIN_URL','http://ppa-bc.net');
defined('MAIN_URL_ALIAS') or define('MAIN_URL_ALIAS','ppa-bc.net');
defined('CS_PAGI_START') or define('CS_PAGI_START','04:30:00');
defined('CS_PAGI_END') or define('CS_PAGI_END','07:30:00');
defined('CS_SORE_START') or define('CS_SORE_START','16:30:00');
defined('CS_SORE_END') or define('CS_SORE_END','19:30:00');
defined('JOBSITE') or define('JOBSITE','BC');
defined('PLANT') or define('PLANT','');
defined('COMP_ID') or define('COMP_ID', 'P02');
defined('URL_STORAGE') or define('URL_STORAGE','http://storage.ppa-bc.net/');
defined('MAX_KM_LV') or define('MAX_KM_LV',200);
defined('MAX_KM_BS') or define('MAX_KM_BS',200);
defined('MAX_KM_EL') or define('MAX_KM_EL',200);
defined('MAX_KM_MH') or define('MAX_KM_MH',200);
defined('MAX_HM') or define('MAX_HM',12);
defined('FREEZE_APPR1_START') or define('FREEZE_APPR1_START','05:00:00');
defined('FREEZE_APPR1_END') or define('FREEZE_APPR1_END','05:00:01');
defined('FREEZE_APPR2_START') or define('FREEZE_APPR2_START','06:00:00');
defined('FREEZE_APPR2_END') or define('FREEZE_APPR2_END','06:00:01');
defined('FREEZE_APPR3_START') or define('FREEZE_APPR3_START','17:15:00');
defined('FREEZE_APPR3_END') or define('FREEZE_APPR3_END','17:15:01');
defined('FREEZE_APPR4_START') or define('FREEZE_APPR4_START','17:30:00');
defined('FREEZE_APPR4_END') or define('FREEZE_APPR4_END','19:00:00');
defined('CO_SHIFT') or define('CO_SHIFT', '05:00:00');
defined('NAMA_AREA') or define('NAMA_AREA', 'area');
defined('PROJECT_LOKASI') or define('PROJECT_LOKASI', 'PT. Antareja Mahada Makmur (AMM)');
defined('IN_ROSTER_N_PLANT') or define('IN_ROSTER_N_PLANT', '18:00:00');
defined('COMP_ID_NEW') or define('COMP_ID_NEW', array('P01', 'P02'));
defined('DOMAIN') or define('DOMAIN', 'ppa-bc.net');
defined('MINE_MATERIAL') or define('MINE_MATERIAL', 'COAL');
defined('UP_AMM') or define('UP_AMM', array('5020009'));
defined('UP_PPA') or define('UP_PPA', array('9110077'));
defined('DOWN') or define('DOWN', array('20000103'));
defined('VEHICLE_CAP') or define('VEHICLE_CAP', 43);
defined('UP_PPA_DH_PES') or define('UP_PPA_DH_PES', array('12050227'));
defined('UP_PPA_DH_PLT') or define('UP_PPA_DH_PLT', array('22000105'));
defined('UP_PPA_DH_COE') or define('UP_PPA_DH_COE', array('12100320'));
defined('UP_PPA_DH_FS') or define('UP_PPA_DH_FS', array('23880001','22000675'));
defined('NEW_AUTH') or define('NEW_AUTH', 'https://api106.ppa-bc.net/');
defined('CODE_ACCESS') or define('CODE_ACCESS', 'GV0027');
defined('CODE_ACCESS_COMMODITY') or define('CODE_ACCESS_COMMODITY', 'GV0026');
Notice: Undefined index: log_path in /var/www/html/system/core/Log.php on line 127
Notice: Undefined index: log_path in /var/www/html/system/core/Log.php on line 127
Warning: mkdir(): Invalid path in /var/www/html/system/core/Log.php on line 131
Notice: Undefined index: log_threshold in /var/www/html/system/core/Log.php on line 138
Notice: Undefined index: log_threshold in /var/www/html/system/core/Log.php on line 142
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/config/constants.php:1)
Filename: config/config.php
Line Number: 119
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/config/constants.php:1)
Filename: config/config.php
Line Number: 120
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/config/constants.php:1)
Filename: config/config.php
Line Number: 121
Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Connection refused
Filename: mysqli/mysqli_driver.php
Line Number: 203
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/config/constants.php:1)
Filename: core/Common.php
Line Number: 570
Unable to connect to your database server using the provided settings.
Filename: core/CodeIgniter.php
Line Number: 518