| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/adeetie_hellogtx/application/config/ |
Upload File : |
<?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);
define('BEE_EMAIL_LIST', array(
'eefp@beeindia.gov.in'
));
define('FC_EMAIL_LIST', array(
'sunita-awadh@darashaw.com',
'sachin-kumar@darashaw.com',
'sunil-sharma@darashaw.com'
));
// define('EMAIL_CC', 'apandey0127@gmail.com');
define('EMAIL_CC', 'facilitation-centre@beeindia.gov.in');
// Email Credential and Other
// define('SMTP_PROTOCAL', 'ssl');
// define('SMTP_HOST', 'mail.gov.in');
// define('SMTP_PORT', 443);
// define('USER_NAME', 'noreply-fc@beeindia.gov.in');
// define('USER_PASSWORD', 'H28aV3&hM4');
// define('EMAIL_FROM', 'noreply-fc@beeindia.gov.in');
define('SMTP_PROTOCAL', 'tls');
define('SMTP_HOST', 'smtp.gmail.com');
define('SMTP_PORT', 587);
define('USER_NAME', 'beebee062022@gmail.com');
define('USER_PASSWORD', 'geefgpxvkxlgtxcw');
define('EMAIL_FROM', 'noreply-fc@beeindia.gov.in');
/*
|--------------------------------------------------------------------------
| 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
define('EXT', '.php');// this for routing constant
define('DS', DIRECTORY_SEPARATOR);
define('FOLDER_PATH', '');
define('UPLOAD_URL','https://www.adeetie.beeindia.gov.in');
$base = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
// $base .= '://'.$_SERVER['HTTP_HOST']; //.DS . FOLDER_PATH; ---- CONCAT IF FOLDER PATH IS NOT NULL
$base='https://adeetie.hellogtx.com';
define('SITEURL',$base);
// define assests folder url
define('URL_ASSETS',SITEURL.DS.'assets');
define('URL_ASSETS_CSS',URL_ASSETS.DS.'css');
define('URL_ASSETS_JS',URL_ASSETS.DS.'js');
define('URL_ASSETS_IMG',URL_ASSETS.DS.'images');
define('URL_ASSETS_FONTS',URL_ASSETS.DS.'fonts');
// define table prefix
define('TBL_PREFIX', 'zed_');
define('CMS_ADMIN_URL','https://adeetieadmin.hellogtx.com/');
// define constant for tables
define('TBL_CATEGORIES',TBL_PREFIX.'category');
define('TBL_POSTS',TBL_PREFIX.'posts');
define('TBL_PAGES',TBL_PREFIX.'pages');
define('TBL_FAQ',TBL_PREFIX.'faq');
define('TBL_MENU',TBL_PREFIX.'menu');
define('TBL_MEDIA',TBL_PREFIX.'media');
define('TBL_SLIDER',TBL_PREFIX.'home_slider');
define('TBL_CONTACT',TBL_PREFIX.'contact');
define('TBL_GLOBAL',TBL_PREFIX.'global_config');
define('TBL_NEWS_BLOCK',TBL_PREFIX.'news_block');
define('TBL_SECTOR',TBL_PREFIX.'sector');
define('TBL_DISCIPLINE',TBL_PREFIX.'discipline');
define('TBL_PARAMETER',TBL_PREFIX.'parameter');
define('TBL_STAKEHOLDERS',TBL_PREFIX.'stakeholders');
define('TBL_VIDEOS',TBL_PREFIX.'homevideos');
define('TBL_OURBOARDS','tcb_ourboards');
define('TBL_TRAININGS','tcb_trainings');
define('TBL_TESTIMONIALS','tcb_testimonials');
define('TBL_EET','eet');
define('TBL_NATURE_OF_THE_PROJECT','natureofproject');
define('TBL_USERS','users');
define('TBL_STATES','states');
define('CMS_ADMIN_USERS',array(1,3,4,5)); // TO AVOID GROUP USERS
// TO DISPLAY USER DASHBOARDS
//define('USER_DASHBOARD',array( 2=>'beneficiary',6=>'pmu-user',7=>'pmu-user-technical',8=>'pmu-user-banking',9=>'bee-user',10=>'index' ) );
define('USER_DASHBOARD',array( 2=>'beneficiary',6=>'index',7=>'index',8=>'index',9=>'index',10=>'bank-user' ) );