config_FormSaveMail_example.php 1.94 KB
<?
$_LOSP_STORABLE_DATA = array();
$_LOSP_STORABLE_DATA["config_user"]		= "mc";
$_LOSP_STORABLE_DATA["config_passwd"]	= "losppassword";
$_LOSP_STORABLE_DATA["config_db"]		= "lospdb_mc";
$_LOSP_STORABLE_DATA["config_dbserver"]	= "localhost";

$_LOSP_STORABLE_KINDOF = 'MySql';

$_LOSP_PATH_TO_ROOT = '../../';
$_LOSPDIR = $_LOSP_PATH_TO_ROOT;
$_PEARDIR = '/var/www/php/';

$_LOSP_DEV = true;

$_KINDOFEMAILLIST = array(
		'economy'	=>	array(	'password'	=>	'solidarity'	),
		'all'	=>	null
);

$_TOOL_MAILADMIN = 'kontakt@mensch.coop';
$_LOSP_CHARSET='utf-8';

$GLOBALS['class'] = array(

/**
 * DataBas
 */
		'StorableFactory'		=> $_LOSPDIR . 'include/System/php/DataBase/class_StorableFactory.inc.php',
		'PDOLevel'				=> $_LOSPDIR . 'include/System/php/DataBase/class_PDOLevel.inc.php',
		'DataTransformator'		=> $_LOSPDIR . 'include/System/php/DataBase/class_DataTransformator.inc.php',
/**
 * DataBase/MySql
 */
		'BasicMySql'			=> $_LOSPDIR . 'include/System/php/DataBase/MySql/class_BasicMySql.inc.php',
		'PDOFunction'			=> $_LOSPDIR . 'include/System/php/DataBase/class_PDOFunction.inc.php',
		'PDOProtected'			=> $_LOSPDIR . 'include/System/php/DataBase/class_PDOProtected.inc.php',
		'MySql'					=> $_LOSPDIR . 'include/System/php/DataBase/MySql/class_MySql.inc.php',
		'PDOSRequest'			=> $_LOSPDIR . 'include/System/php/DataBase/class_PDOSRequest.inc.php',
		'iStorable'				=> $_LOSPDIR . 'include/System/php/Interfaces/if_iStorable.inc.php',
		'aStorable'				=> $_LOSPDIR . 'include/System/php/Interfaces/if_iStorable.inc.php',
//		'aServiceStorable'		=> $_LOSPDIR . 'include/System/php/Interfaces/if_iStorable.inc.php',
		'iBasicSql'				=> $_LOSPDIR . 'include/System/php/Interfaces/if_iBasicSql.inc.php',

		'D'						=> $_LOSPDIR . "include/System/php/DevTools/class_D.inc.php",

		'HTML_QuickForm2'				=> '/usr/share/php/HTML/QuickForm2.php',
);

function __autoload($klasse) {
	if (isset($GLOBALS['class'][$klasse])) {
		require_once $GLOBALS['class'][$klasse];
	}
}

?>