<?PHP

// Path to the script that sets the variables for database connection
// $ppconf["mysqli_server"], $ppconf["mysqli_username"]
// and $ppconf["mysqli_password"]
// You should place that somewhere it can not be accessed as a document from the webserver and set the propriate
// chmod-flags too.
// Somewhere in your home-directory is a good place. the default relative path is not so good because if
// the webserver configuration is fucked up (e.g. by a server update) the script source could be exposed to the public!
// I can not stress that enough. never put confidential php-code somewhere below the webserver document root in the
// filesystem.
$ppconf["dbcscriptpath"] = "dbc/phppunch_dbc.inc.php";



// Path to the include for language.
// "en" can be replaced by "de"
// feel free to contribute other languages ;)
require_once "lang/el.inc.php";



// the absolute uri path (with trailing "/") to the installation
$ppconf["htroot"] = "http://localhost/welcome/";



// the cookie domain and path that will be passed to setcookie() function  - usually the host name of the server should do it
// please use the syntax exactly like the sample or cookie based host authorization wont work.
$ppconf["cookiedomain"] = "localhost";	// e.g. "www.hydrofix.de"
$ppconf["cookiepath"] = "/welcome/";		// e.g. "/punchmachine/"



// the date format must contain d m Y as date month and year. For Output all other characters will be forwarded to the date("") function,
// for input they will be seen as mandatory separators
$ppconf["datefmt"] = "d-m-Y";	 // Greek date format
//$ppconf["datefmt"] = "Y-m-d";	// US - uncomment if you prefer



// time format, please do not change - ok i know you US ppl really like that 12 hour system but it's so ambiguous.
$ppconf["timefmt"] = "H:i:s";



// datetime format, should be ok like that.
$ppconf["datetimefmt"] = $ppconf["datefmt"]." ".$ppconf["timefmt"];


// Decimal sign, can be set to "." or "," depending on your preferred locale.
$ppconf["decimalseparator"] = ",";

// number of maximum idle seconds for sessions to expire
$ppconf["login_maxidlesecs"] = 15*60;	// 15*60 = 15 minutes



// Uncomment the following section if you want weekday and month names in a language not supported.
/*
$pplang["weekdays"] = array(
	0=>utf8_encode("Su"),
	1=>utf8_encode("Mo"),
	2=>utf8_encode("Tu"),
	3=>utf8_encode("We"),
	4=>utf8_encode("Th"),
	5=>utf8_encode("Fr"),
	6=>utf8_encode("Sa")
);

$pplang["monthnameslong"] =	array(
	0=>utf8_encode("-"),
	1=>utf8_encode("January"),
	2=>utf8_encode("February"),
	3=>utf8_encode("March"),
	4=>utf8_encode("April"),
	5=>utf8_encode("May"),
	6=>utf8_encode("June"),
	7=>utf8_encode("July"),
	8=>utf8_encode("August"),
	9=>utf8_encode("September"),
	10=>utf8_encode("October"),
	11=>utf8_encode("November"),
	12=>utf8_encode("December")
);

$pplang["monthnamesshort"] = array(
	0=>utf8_encode("-"),
	1=>utf8_encode("Jan"),
	2=>utf8_encode("Feb"),
	3=>utf8_encode("Mar"),
	4=>utf8_encode("Apr"),
	5=>utf8_encode("May"),
	6=>utf8_encode("Jun"),
	7=>utf8_encode("Jul"),
	8=>utf8_encode("Aug"),
	9=>utf8_encode("Sep"),
	10=>utf8_encode("Oct"),
	11=>utf8_encode("Nov"),
	12=>utf8_encode("Dec")
);
*/

// Some definitions for inline color styles (background colors for table rows etc)
$ppconf["html_rowc0"] = "\"#e0e0e0\"";
$ppconf["html_rowc1"] = "\"#c0c0c0\"";
$ppconf["html_red"] = "\"#e08080\"";
$ppconf["html_green"] = "\"#a0d0b0\"";
$ppconf["html_special"] = "\"#C0FFC0\"";
$ppconf["html_dark"] = "\"#808080\"";


?>
