Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/crm.outerorbittech.com/application/config/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: constants.php

Path: /home2/outerorb/crm.outerorbittech.com/application/config/constants.php

Size: 6.37 KB

Permissions: 0664

<?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('REWARD_REF')          OR define('REWARD_REF', 20);
defined('REF_POINT')          OR define('REF_POINT', 1);
defined('AMOUNT')          OR define('AMOUNT', 20);
///////////////////////////////////////////////
$curyear = date('Y',strtotime(date('Y-m-d'))); 
defined('PROJECT_NAME')        OR define('PROJECT_NAME','Lead Manage'); 
defined('OUR_BRAND')       	   OR define('OUR_BRAND',"Development Site");
defined('SESSION_YEAR')        OR define('SESSION_YEAR',"$curyear");
defined('SITE_SALT')           OR define('SITE_SALT',"'Lead");
defined('TP')        		   OR define('TP',"ld_"); // Table Prefix
defined('PRE')                 OR define('PRE',"<pre>");
defined('NTYPE')                 OR define('NTYPE',"toastr"); //Notification Type
//////////////////////////////////////////////
/*--------------Template Colors-------------*/
//////////////////////////////////////////////
defined('ACCENT_COLOR')        OR define('ACCENT_COLOR',"accent-danger");
defined('NAVBAR_COLOR')        OR define('NAVBAR_COLOR',"navbar-light navbar-info");
defined('BRAND_COLOR')         OR define('BRAND_COLOR',"navbar-light");
defined('SIDEBAR_COLOR')       OR define('SIDEBAR_COLOR',"sidebar-dark-info");
//////////////////////////////////////////////

if(isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST']=='localhost' || $_SERVER['HTTP_HOST']=='192.168.1.109'){
	defined('DB_HOST')		? null : define('DB_HOST','localhost');
	defined('DB_USER')		? null : define('DB_USER', 'root');
	defined('DB_PASSWORD')	? null : define('DB_PASSWORD','');
	defined('DB_NAME')		? null : define('DB_NAME','bhive_crm');
}
else{
	defined('DB_HOST')      ? null : define('DB_HOST', 'localhost');
	defined('DB_USER')      ? null : define('DB_USER', 'outerorb_crm');
	defined('DB_PASSWORD')  ? null : define('DB_PASSWORD','Passw0rd@123');
	defined('DB_NAME')      ? null : define('DB_NAME', 'outerorb_outercrm');
}

// else{
// 	defined('DB_HOST')      ? null : define('DB_HOST', 'localhost');
// 	defined('DB_USER')      ? null : define('DB_USER', 'softwarebss_gotaxa');
// 	defined('DB_PASSWORD')  ? null : define('DB_PASSWORD','Gotaxa@123#');
// 	defined('DB_NAME')      ? null : define('DB_NAME', 'softwarebss_gotaxa');
// }


← Back to Directory Edit File 🔒 Chmod

WP File Manager