Location: PHPKode > scripts > TextIndexer > indexer/classes/config_system.php
<?php 
// defining connection profile
$mysql_user = "root";
$mysql_password = "";
$mysql_server = "localhost";
$mysql_databasename = "test";
$mysql_port = "3306";
$absolute_path_to_logs = "./";
/////////////////////////////////

include "./classes/class.systemObject.php";
if (function_exists("mysqli_connect")) include "./classes/class.DatabaseMysqli.php";
else  include "./classes/class.DatabaseMysql.php";

// initializing the database connection
$db_connection = new DatabaseMysql($mysql_user, $mysql_password, $mysql_server, $mysql_databasename, $mysql_port);
$db_connection->init();


// defining the logging codes
$a_gs_logging_codes = array (
	'errors' => array (
		'0' => "general Error",
		'010001' => "Database not available",
		'010002' => "Database not selectable",
		'010003' => "No SQL string defined",
		'010004' => "Error in SQL string",
		'010005' => "Database not available",
		'010006' => "Object Error",
		'031101' => "Datenbankverbindungsfehler",
		'031201' => "Datenbankverbindungsfehler",
		'031301' => "Datenbankverbindungsfehler",
		'031401' => "Datenbankverbindungsfehler",
		'031501' => "Datenbankverbindungsfehler",
	),
	'warnings' => array (
		'0' => "general Warning",
	),
	'notices' => array (
		'0' => "general Notice",
	),
	'debug' => array (
		'0' => "general Debug"
	)
);

?>
Return current item: TextIndexer