Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/custom/history/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/custom/history/config.default.php
<?php
/**
 * @author ATM Consulting <support@atm-consulting.fr>
 * @copyright 2015-2022 ATM Consulting
 *
 * @global $langs
 */

/**
 * Detect folder depth of the module
 */
if ( is_file( '../main.inc.php' ) ) {
	$dir = '../';
} else if ( is_file( '../../main.inc.php' ) ) {
	$dir = '../../';
} else {
	$dir = '../../../';
}

if ( ! defined( 'INC_FROM_DOLIBARR' ) && defined( 'INC_FROM_CRON_SCRIPT' ) ) {
	include( $dir . "master.inc.php" );
} elseif ( ! defined( 'INC_FROM_DOLIBARR' ) ) {
	include( $dir . "main.inc.php" );
} else {
	global $dolibarr_main_db_host, $dolibarr_main_db_name, $dolibarr_main_db_user, $dolibarr_main_db_pass , $dolibarr_main_db_type;
}

if ( ! defined( 'DB_HOST' ) ) {
	define( 'DB_HOST', $dolibarr_main_db_host );
	define( 'DB_NAME', $dolibarr_main_db_name );
	define( 'DB_USER', $dolibarr_main_db_user );
	define( 'DB_PASS', $dolibarr_main_db_pass );
	define( 'DB_DRIVER', $dolibarr_main_db_type );
}

if ( ! dol_include_once( '/abricot/inc.core.php' ) ) {
	print $langs->trans( 'AbricotNotFound' ) . ' : <a href="http://wiki.atm-consulting.fr/index.php/Accueil#Abricot" target="_blank">Abricot</a>';
	exit;
}

dol_include_once( '/history/class/history.class.php' );

Hry