<?php

/* configuration file: adjust the '$path', your database-connection and the language ! */

/*--------------------------------------------------------------------*/

/* base dir (include ending slash !) and in win use two '\\' in unix just '/' */

$calpath = "/home/swentel/projects/calendar/";

/*--------------------------------------------------------------------*/

/* data base connection */

$db = 'calendar';
$dbuser = 'root';
$dbpass = '';
$dbhost = 'localhost';

 mysql_connect($dbhost,$dbuser,$dbpass) or die("could not connect");
 mysql_select_db("$db") or die("could not open database");

/*------------------------------------------------------------------*/

/* language: e for english, n for dutch (important/interesting for date functions */

$language = "n";

require $calpath.$language.".inc.php";
require $calpath.$language.".months.php";
require $calpath.$language.".week.php";
/*--------------------------------------------------------------------*/


?>
