www/config.php.dist

Fri, 04 Jan 2019 21:51:59 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 04 Jan 2019 21:51:59 +0100
changeset 171
48cf3ea270f8
parent 2
282e7d2bb28a
child 185
4c25db9e8102
permissions
-rw-r--r--

Removed checkboxes for brew and fermentation logs from the first tab. On the brewday and fermentation tabs added buttons to show log graphs. The buttuns are only enabled if there is a log.

<?php

/*
 * Check for development server
 */
if ( strcmp($_SERVER['SERVER_NAME'], "seaport.mbse.ym") == 0)  {

	define ('DBASE_NAME', 'bms_dev');
	define ('DBASE_HOST', 'lx02');
	define ('DBASE_USER', 'bms_dev');
	define ('DBASE_PASS', 'bms_dev');
	define ('DBASE_CHARSET', 'utf8');

	define ('EMAIL_FROM', 'noreply@mbse.ym');

	setlocale ( LC_TIME , 'nl_NL' );

} else {

        define ('DBASE_NAME', 'bms_dev');
	define ('DBASE_HOST', 'lx02');
	define ('DBASE_USER', 'bms_dev');
	define ('DBASE_PASS', 'bms_dev');
	define ('DBASE_CHARSET', 'utf8');

	define ('EMAIL_FROM', 'noreply@mbse.ym');

	setlocale ( LC_TIME , 'nl_NL' );

}

mercurial