<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| 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.
|
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/

define('FOPEN_READ',							'rb');
define('FOPEN_READ_WRITE',						'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',		'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',	'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',					'ab');
define('FOPEN_READ_WRITE_CREATE',				'a+b');
define('FOPEN_WRITE_CREATE_STRICT',				'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',		'x+b');

/*
|--------------------------------------------------------------------------
| HTTP Status Code
|--------------------------------------------------------------------------
|
| These modes are used when working with json responsed
|
*/
define('STATUS_200', 'OK');
define('STATUS_201', 'OK2');
define('STATUS_202', 'OK3');
define('STATUS_400', 'Bad Request');
define('STATUS_401', 'Unauthorized');
define('STATUS_403', 'Forbidden');
define('STATUS_404', 'Not Found');
define('STATUS_500', 'Internal Server Error');

/*
|--------------------------------------------------------------------------
| User Types
|--------------------------------------------------------------------------
|
| These types are used when working with account
|
*/

define('SUPERADMIN', 	1);
define('ADMIN', 		2);
define('MEMBER', 		3);

/*
|--------------------------------------------------------------------------
| Transaction Types
|--------------------------------------------------------------------------
|
| These types are used when working with transaction
|
*/

define('TRANSFER', 		1);
define('WITHDRAWAL', 	2);

/*
|--------------------------------------------------------------------------
| Message Types
|--------------------------------------------------------------------------
|
| These types are used when working with message
|
*/

define('MESSAGE_INBOX', 	1);
define('MESSAGE_SENT', 		2);

/*
|--------------------------------------------------------------------------
| Gender Types
|--------------------------------------------------------------------------
|
| These types are used when working with gender
|
*/

define('MALE', 		1);
define('FEMALE', 	2);

/*
|--------------------------------------------------------------------------
| Tenure
|--------------------------------------------------------------------------
|
| These types are used when working with member registration
|
*/

define('TENURE_CONTRACT', 	1096);

/*
|--------------------------------------------------------------------------
| Member Log Types
|--------------------------------------------------------------------------
|
| These types are used when working with member activities
|
*/

define('LOG_LOGIN', 							1);
define('LOG_LOGOUT', 							2);
define('LOG_EDIT_PROFILE', 						3);
define('LOG_FORGOT_PASSWORD', 					4);
define('LOG_ADD_MEMBER', 						5);
define('LOG_CHANGE_LOGIN_PASSWORD', 			6);
define('LOG_CHANGE_SECURITY_PASSWORD', 			7);
define('LOG_WITHDRAWAL', 						8);
define('LOG_MEMBER_REINVEST',					9);
define('LOG_TRANSFER',							10);
define('LOG_CONVERT',							11);
define('LOG_TOPUP',								12);
define('LOG_TOPUP_PACKAGE',						13);
define('LOG_CLAIM_INSURANCE',					14);
define('LOG_ACCOUNT_BINDING',					15);

/*
|--------------------------------------------------------------------------
| Image Path
|--------------------------------------------------------------------------
|
| These types are used when working with product
|
*/

define('UPLOAD_MEDIA_PHYSICAL_PATH', 	'./uploads/');
define('UPLOAD_MEDIA_VIRTUAL_PATH', 	'uploads/');

/*
|--------------------------------------------------------------------------
| Currency API
|--------------------------------------------------------------------------
|
| These types are used when working with currency
|
*/

define('CURRENCY_API',			'https://freecurrencyapi.net/api/v2/latest?apikey=d8abb730-4313-11ec-a387-090607a868ee&base_currency=CNY');

/*
|--------------------------------------------------------------------------
| Zuno
|--------------------------------------------------------------------------
|
| These types are used when working with currency
|
*/

define('WHITELABEL_URL',			'https://www.si88.live/api/');
define('WHITELABEL_AGENT_ID',		'zuno7s');
define('WHITELABEL_SECRET_KEY',		'4cPoy51bbfW8mdIy7gZAr8LVcXMRnQrF');

// /*
// |--------------------------------------------------------------------------
// | Payment Gateways
// |--------------------------------------------------------------------------
// |
// | These types are used when working with topup
// |
// */

// define('PG_PAYTRUST_PAY_URL', 		'https://api.paytrust88.com');
// define('PG_PAYTRUST_DEV_KEY', 		'6kW20O1g4EeiRZHJ0xYLgDew4jCiFITS');
// define('PG_PAYTRUST_MYR_KEY', 		'gTmeKF1u4qm0pT2Al46fuT8zAjglUgRA');
// define('PG_PAYTRUST_IDR_KEY', 		'0e4r0ejX5AyzqNWHGBaX7Z2fMfGHRKNi');
// define('PG_PAYTRUST_THB_KEY', 		'');
// define('PG_PAYTRUST_VND_KEY', 		'PLx8JwA99nyo7z00hUKxU0zYebxUNcdS');
// // Malaysia
// define('PG_PAYTRUST_IBAN_HLB', 		'59f413ca94c67');
// define('PG_PAYTRUST_IBAN_MBB', 		'59f413e3ac31f');
// define('PG_PAYTRUST_IBAN_CIMB', 	'59f413f699727');
// define('PG_PAYTRUST_IBAN_PBB', 		'59f414215b156');
// define('PG_PAYTRUST_IBAN_RHB', 		'5b3558e1ad70d');
// // Indonesia
// define('PG_PAYTRUST_IBAN_BNI', 		'59f414a0180a8');
// define('PG_PAYTRUST_IBAN_BCA', 		'59f4149441ddc');
// define('PG_PAYTRUST_IBAN_BRI', 		'59f414875bddc');
// define('PG_PAYTRUST_IBAN_BMRI', 	'59f4147ae7d6f');
// define('PG_PAYTRUST_IBAN_BNGA', 	'5f5a74447efd8');
// // Vietnam
// define('PG_PAYTRUST_IBAN_VTB', 		'5a8d9b3432bc7');
// define('PG_PAYTRUST_IBAN_VCB', 		'5a8dbfef271b0');
// define('PG_PAYTRUST_IBAN_BIDV', 	'5a8dc25912217');
// define('PG_PAYTRUST_IBAN_TCB', 		'5a8ee643945a3');
// define('PG_PAYTRUST_IBAN_SACOM', 	'5a8eec3fc74e6');
// define('PG_PAYTRUST_IBAN_DAB', 		'5a904bc3775ba');
// define('PG_PAYTRUST_IBAN_ACB', 		'5a900eca03af6');
// // Thailand
// define('PG_PAYTRUST_IBAN_KKR', 		'59f414091aeb1');
// define('PG_PAYTRUST_IBAN_BBL', 		'59f4143921ba5');
// define('PG_PAYTRUST_IBAN_KTB', 		'59f414434c28e');
// define('PG_PAYTRUST_IBAN_SCB', 		'59f414509ca5d');
// define('PG_PAYTRUST_IBAN_TMB', 		'59f4145c97876');

// define('PG_PAYLAH_PAY_URL', 		'https://api.paylahapi.com/MerchantTransfer');
// define('PG_PAYLAH_PAYOUT_URL', 		'https://service.paylahapi.com/MerchantPayout/P087');
// define('PG_PAYLAH_KEY', 			'9A1hD7xmww5hAUjosAEn');
// // define('PG_PAYLAH_PAY_URL', 		'https://api.paylah88test.biz/MerchantTransfer'); //Staging
// // define('PG_PAYLAH_PAYOUT_URL', 	'https://service.paylah88test.biz/MerchantPayout'); //Staging
// // define('PG_PAYLAH_KEY', 			'hbs8mqU9Vaebqs6blYqB'); //Staging
// define('PG_PAYLAH_MERCHANT_ID', 	'P087');
// // Malaysia
// define('PG_PAYLAH_IBAN_MBB', 		'MBB');
// define('PG_PAYLAH_IBAN_CIMB', 		'CIMB');
// define('PG_PAYLAH_IBAN_HLB', 		'HLB');
// define('PG_PAYLAH_IBAN_PBB', 		'PBB');
// define('PG_PAYLAH_IBAN_RHB', 		'RHB');
// define('PG_PAYLAH_IBAN_AMB', 		'AMB');
// define('PG_PAYLAH_IBAN_BIMB', 		'BIMB');
// // Indonesia
// define('PG_PAYLAH_IBAN_BCA', 		'BCA');
// define('PG_PAYLAH_IBAN_BNI', 		'BNI');
// define('PG_PAYLAH_IBAN_BRI', 		'BRI');
// define('PG_PAYLAH_IBAN_CIMBN', 		'CIMBN');
// define('PG_PAYLAH_IBAN_MDR', 		'MDR');
// // Vietnam
// define('PG_PAYLAH_IBAN_SACOM', 		'SACOM');
// define('PG_PAYLAH_IBAN_VCB', 		'VCB');
// define('PG_PAYLAH_IBAN_VTB', 		'VTB');
// define('PG_PAYLAH_IBAN_BIDV', 		'BIDV');
// define('PG_PAYLAH_IBAN_DAB', 		'DAB');
// define('PG_PAYLAH_IBAN_TCB', 		'TCB');
// define('PG_PAYLAH_IBAN_ACB', 		'ACB');
// define('PG_PAYLAH_IBAN_EXIM', 		'EXIM');
// // Thailand
// define('PG_PAYLAH_IBAN_KKR', 		'KKR');
// define('PG_PAYLAH_IBAN_KTB', 		'KTB');
// define('PG_PAYLAH_IBAN_SCB', 		'SCB');
// define('PG_PAYLAH_IBAN_BBL', 		'BBL');
// define('PG_PAYLAH_IBAN_BOA', 		'BOA');
// define('PG_PAYLAH_IBAN_GSB', 		'GSB');
// define('PG_PAYLAH_IBAN_CIMBT', 		'CIMBT');
// define('PG_PAYLAH_IBAN_KNK', 		'KNK');

// define('PG_SUREPAY_SGD_PAY_URL', 		'https://my.surepay.live/fundtransfer');
// define('PG_SUREPAY_THB_PAY_URL', 		'https://my.surepay.live/th/fundtransfer');
// define('PG_SUREPAY_SGD_KEY', 			'9b5d97d0289190d2bbf17d40dc7fd8a325b48829');
// define('PG_SUREPAY_THB_KEY', 			'eb5ae601bf3f04ffeddc08e32ed98cdf0f3e7f9b');
// // define('PG_SUREPAY_SGD_PAY_URL', 		'https://sandbox.surepay.live/fundtransfer'); //Staging
// // define('PG_SUREPAY_THB_PAY_URL', 		'https://sandbox.surepay.live/th/fundtransfer'); //Staging
// // define('PG_SUREPAY_SGD_KEY', 			'b8e2c643d0dda7d7ffbde07e71c5ff1d3e35e3e5'); //Staging
// // define('PG_SUREPAY_THB_KEY', 			'k6d9rkg8y3N1j5k9d0l3s8R49eaaebd4099c0263'); //Staging
// define('PG_SUREPAY_SGD_MERCHANT_ID', 	'SandsInt');
// define('PG_SUREPAY_THB_MERCHANT_ID', 	'SandsInt');
// // define('PG_SUREPAY_SGD_MERCHANT_ID', 	'Surepay88'); //Staging
// // define('PG_SUREPAY_THB_MERCHANT_ID', 	'Surepay88'); //Staging
// define('PG_SUREPAY_SGD_CONTRACT_NAME',	'SandsInt');
// define('PG_SUREPAY_THB_CONTRACT_NAME', 	'SandsIntTHB');
// // Singapore
// define('PG_SUREPAY_IBAN_DBS', 		'10003843');
// define('PG_SUREPAY_IBAN_MBBE', 		'10003844');
// define('PG_SUREPAY_IBAN_OCBC', 		'10003845');
// define('PG_SUREPAY_IBAN_SCBLSG', 	'10003846');
// define('PG_SUREPAY_IBAN_UOB', 		'10003847');
// // Thailand
// define('PG_SUREPAY_IBAN_BBL', 		'10003848');
// define('PG_SUREPAY_IBAN_KBANK', 	'10003849');
// define('PG_SUREPAY_IBAN_KTB', 		'10003850');
// define('PG_SUREPAY_IBAN_SCB', 		'10003851');
// define('PG_SUREPAY_IBAN_THAIPP', 	'10003852');

// define('PG_SFPAY_PAY_URL', 			'https://www.sfpay168.com/Pay_Index.html');
// define('PG_SFPAY_PAYOUT_URL', 		'https://www.sfpay168.com/Payment_Dfpay_add.html');
// define('PG_SFPAY_MERCHANT_ID', 		'211135723');
// define('PG_SFPAY_KEY', 				'egcysudc7k7inhr4hvumq21537d6th8v');

// define('PG_ONEPAY_PAY_URL', 		'http://opgw.nlytofgtje.com');
// define('PG_ONEPAY_APP_ID', 			'1028111');
// define('PG_ONEPAY_KEY', 			'gwpmWIC18QO5wfgBVeYiiKrXFCr6oZjn');

// define('PG_CP_MERCHANT_ID', 		'546372f9749f19204ec156c15ff31d81');
// define('PG_CP_IPN_KEY', 			'z28c97kd7yh3');
// define('PG_CP_PUBLIC_KEY', 			'473aedae290412af7249513eb7431897b9be27adfaf635c0e7890a35e4a892e0');
// define('PG_CP_PRIVATE_KEY', 		'702C54f27674E84280b0d9a73a6FC3Bb306013f06cB3b9A933A93Af0EbFAddab');

// // define('PG_FPAY_URL', 			'https://sandboxapi.fpay.support');
// // define('PG_FPAY_USERNAME', 		'sandsinternational_test');
// // define('PG_FPAY_API_KEY', 		'W1FJa56YlbGvtElTPS2L');
// // define('PG_FPAY_SECRET_KEY', 	'cwCPKVIFxOgDmOK');
// define('PG_FPAY_URL', 				'https://liveapi.fpay.support/');
// define('PG_FPAY_USERNAME', 			'sandsinternational');
// define('PG_FPAY_API_KEY', 			'3lki7Oq4fhcWViBucGal');
// define('PG_FPAY_SECRET_KEY', 		'UTCpV1xcC0n209c');

define('PG_TRONGRID_URL', 			'https://alphabc.pro/api/generateaddress/');
define('PG_TRONGRID_AGENT_ID', 		'mdc8');
define('PG_TRONGRID_KEY', 			'GivNCe1ZOpvSK1wwkKztgOwe8XDx20TY');

/*
|--------------------------------------------------------------------------
| Payment Gateways
|--------------------------------------------------------------------------
|
| These types are used when working with topup
|
*/
define('TW_MERCHANT_ID', 		'zuno7s');
define('TW_SECRET_KEY', 		'4cPoy51bbfW8mdIy7gZAr8LVcXMRnQrF');


/* End of file constants.php */
/* Location: ./application/config/constants.php */