/* Generic System Constants */
/* $_SERVER['APPLICATION_ROOT'] = $_SERVER['DOCUMENT_ROOT'].'/'; *//* doc_root is properly set */
/* $_SERVER['APPLICATION_PREPEND'] = '/'; *//* doc_root is properly set */
$_SERVER['APPLICATION_ROOT'] = '/export/WWW/coms_ubd/'; /* on ~develope */
$_SERVER['APPLICATION_PREPEND'] = '/'; /* on ~develope */
/* Database Constan
*/
define('DB_HOST', "cloudcomsdb.computersosinc.com" );
define('DB_USER', "csos_root" );
define('DB_PASS', "mysqldb48csos" );
//define('DB_USER', "csos_root" );
//define('DB_PASS', "mysqldb48csos");
define('DB_NAME', "coms_ubd" );
/* Login Database Constants. */
define('DB_LOGIN_HOST', DB_HOST );
define('DB_LOGIN_USER', DB_USER );
define('DB_LOGIN_PASS', DB_PASS );
define('DB_LOGIN_NAME', "login_ubd" );
define("SECONDARY_MENU_MODEL", true);
define("PRIMARY_MENU_DESCRIPTION", "Vertical");
define("SECONDARY_MENU_DESCRIPTION", "Horizontal");
define("HORIZONTAL_MENU_PRESENT", true);
define('DB_EMS_NAME', "ems_ubd" );
define("SECRET_WORD", "UBDental" );
define("MEMBER_HOME_PAGE", "bios_view.php" );
define("EMS_ADMIN_SITE", '/ems/admin/' );
define("EMS_REGENGINE_SITE", '/ems/regengine/event.php');
/* Constants Between the Two. */
define('LOGIN_USER_TABLE', ''.DB_LOGIN_NAME.'.user' );
define('LOGIN_USER_INFO_TABLE', ''.DB_LOGIN_NAME.'.user_info' );
define('LOGIN_USER_INFO', ''.DB_LOGIN_NAME.'.user_info' );
define('LOGIN_USER_TYPE_TABLE', ''.DB_LOGIN_NAME.'.user_type' );
define('LOGIN_USER_TYPE_MAP_TABLE', ''.DB_LOGIN_NAME.'.user_type_map' );
define('LOGIN_USER_GROUP_TABLE', ''.DB_LOGIN_NAME.'.type_group' );
define('LOGIN_ADDRESS_TABLE', ''.DB_LOGIN_NAME.'.user_info_address' );
define('LOGIN_USER_INFO_EXT_TABLE', ''.DB_LOGIN_NAME.'.user_info_ext' );
define('LOGIN_USER_INFO_ADDRESS_TABLE', ''.DB_LOGIN_NAME.'.user_info_address' );
define('LOGIN_CHANGE_LOG', ''.DB_LOGIN_NAME.'.change_log' );
define('COMS_PAYMENT', ''.DB_NAME.'.coms_payment' );
define('DATA_DICTIONARY', ''.DB_NAME.'.data_dictionary' );
define('LOGIN_USER_INFO', ''.DB_LOGIN_NAME.'.user_info' );
define('MEM_TYPES', ''.DB_NAME.'.coms_membership_type' );
/* Application Constants. */
define("SITE_DIR", $_SERVER['APPLICATION_PREPEND']."site/" );
define("SITE_IMAGES_DIR", $_SERVER['APPLICATION_PREPEND']."site/images/" );
define("SITE_SCRIPTS_DIR", $_SERVER['APPLICATION_PREPEND']."site/scripts/" );
define("SITE_STYLES_DIR", $_SERVER['APPLICATION_PREPEND']."site/styles/" );
define("SITE_SYS_DIR", $_SERVER['APPLICATION_ROOT']."site/" );
define("SITE_SYS_IMAGES_DIR", $_SERVER['APPLICATION_ROOT']."site/images/" );
define("SITE_SYS_SCRIPTS_DIR", $_SERVER['APPLICATION_ROOT']."site/scripts/" );
define("SITE_SYS_STYLES_DIR", $_SERVER['APPLICATION_ROOT']."site/styles/" );
/* File Manager Constants. */
define("FILE_DIR_RELATIVE", "site/files" );
define("FILE_DIR", $_SERVER['APPLICATION_PREPEND']."site/files/" );
define("FILE_SYS_DIR", $_SERVER['APPLICATION_ROOT']."site/files/" );
define("TEMP_DIR_RELATIVE", "site/files/temp" );
define("TEMP_DIR", $_SERVER['APPLICATION_PREPEND']."site/files/temp/" );
define("TEMP_SYS_DIR", $_SERVER['APPLICATION_ROOT']."site/files/temp/" );
/* Gallery Constants */
define("ALBUM_TABLE", '`photo_album`' );
define("PHOTO_TABLE", '`photo_photos`' );
define("GALLERY_THUMBS_DIR", SITE_DIR.'gallery_files/thumbs/' );
define("GALLERY_PHOTOS_DIR", SITE_DIR.'gallery_files/photos/' );
define("GALLERY_BIO_DIR", SITE_DIR.'gallery_files/bio/' );
define("GALLERY_SYS_THUMBS_DIR",SITE_SYS_DIR.'gallery_files/thumbs/');
define("GALLERY_SYS_PHOTOS_DIR",SITE_SYS_DIR.'gallery_files/photos/');
define("GALLERY_SYS_BIO_DIR", SITE_SYS_DIR.'gallery_files/bio/' );
/* Login Constants. */
define("LOGIN_ERROR_INVALID_USER", "The username specified is invalid.
" );
define("LOGIN_ERROR_INVALID_PASS", "The password specified is invalid.
" );
define("LOGIN_ERROR_INVALID_LOGIN", "The username or password specified is incorrect.
" );
define("LOGIN_ERROR_USER_EXPIRED", "Your membership has expired: Please renew your membership.
" );
/* Photo Manager Constants. */
define("PHOTO_IMG_DIR", APP_BASEDIR.SITE_MEMDIR."/files/photos/" );
define("PHOTO_OUTSIDE_DIR", SITE_MEMDIR."/files/photos/" );
define("SECURE_SITE", false);
/* Credit Card Constants */
define("CC_TESTING_MODE", false ); /* this MUST be set to FALSE for cards to work. Unsetting it is bad. */
define("CC_X_TRAN_KEY", "5VpEP856sr383LTa" );
define("CC_X_LOGIN", "36V6Mr4hu" );
//if(is_numeric($dat['row']) && $dat['row'] > 0)
define("CC_X_PASSWORD", "UBD#csos" );
define("CC_FROM_EMAIL", CLIENT_EMAIL );
/* Update Constants */
define("UPDATE_TABLE", '`coms_updates`');
//define("CHANGE_LOG_PRESENT", false );
/* Messageboard Constants */
define("MSG_THREAD_TABLE", '`message_threads`' );
define("MSG_POST_TABLE", '`message_posts`' );
/* Asset Manager Constants possbl b-d */
/*
define("VBASE_AM_B", $_SERVER['APPLICATION_PREPEND'].FILE_DIRECTORY ); //Virtual BASE of the directory
define("ABASE_AM_B", $_SERVER['APPLICATION_ROOT'].FILE_DIRECTORY ); // Actual system BASE
define("DNAME_AM_B", "Files" ); // Display NAME
define("VBASE_AM_C", PHOTO_OUTSIDE_DIR );
define("ABASE_AM_C", PHOTO_IMG_DIR );
define("DNAME_AM_C", "Member Images" );
define("VBASE_AM_D", $_SERVER['APPLICATION_PREPEND'].'gallery/photos/' );
define("ABASE_AM_D", $_SERVER['APPLICATION_ROOT'].'gallery/photos/' );
define("DNAME_AM_D", "Photo Gallery" );
*/
/* DEBUGGING Constants */
define("QUICK_REDIRECT", true); // set to true or comment out in live environs
define("DEBUG_PRINTING", 'dbnut_datasetting'); // set to false or comment out in live environs
define("DB_ERROR_REPORTING", true); // set to false or comment out in live environs
//define("JAVASCRIPT_VALIDATION_DEBUGGING", true); // set to false or comment out in live environs
//define("JAVASCRIPT_VALIDATION", false); // set to true or comment out in live environs
/* Show Member Directory */
define('PAGINATE_USERS', "1"); //Set to '1' if member listings needs to be paginated
define('PAGINATE_PER_PAGE', "100"); //Set value to paginate by if PAGINATE_USERS is set to '1'
/* Show PDF Report */
define('PDF_REPORT', "1"); //Set to '1' if PDF report should be shown in site management
/* User-management Constants */
//define("PHOTO_LOGO_FLAG", true);
define("MEMBERSHIP_TYPE_FLAG",true);
define("BYPASS_EXPIRE",true);
define("BYPASS_AUTH_APPROVAL",true);
define("ALLOW_CHECK_RENEWAL",false);
//define("MEMBERSHIP_POINTS_FLAG",true);
//define("NEW_MEMBERS_MAKE_REFERALS",true);
define("RECURRING_RENEWAL_DATE",true);
define('IMG_LOGO', "logo_small.JPG");
?>