2011-06-01 12:13:39 +02:00
|
|
|
<?php
|
2005-09-10 19:25:43 +02:00
|
|
|
// Adresse des Webservers
|
2010-08-31 21:16:16 +02:00
|
|
|
$url = "https://SEDENGELURL";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
// Startverzeichnis des Engelhome
|
2008-04-09 05:22:51 +02:00
|
|
|
$ENGEL_ROOT = "/";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-06-01 14:30:29 +02:00
|
|
|
// Default-Theme auf der Startseite, 1=style1.css usw.
|
|
|
|
$default_theme = 10;
|
|
|
|
|
2005-12-25 06:50:08 +01:00
|
|
|
// System disable message, ist ist set is: bages schow only this text
|
|
|
|
//$SystemDisableMessage="<H1>This system ist moved to a server in the BCC, you can in the moment only youse it in the in Engel Room</H1>";
|
|
|
|
|
2005-09-10 19:25:43 +02:00
|
|
|
// Anzahl der News, die auf einer Seite ausgeben werden koennen...
|
|
|
|
$DISPLAY_NEWS = 6;
|
|
|
|
|
|
|
|
// Anzahl Stunden bis zum Austragen eigener Schichten
|
|
|
|
$LETZTES_AUSTRAGEN=3;
|
|
|
|
|
2012-12-12 02:31:54 +01:00
|
|
|
// Setzt den zu verwendenden Crypto-Algorismus (entsprechend der Dokumentation von crypt()).
|
|
|
|
// Falls ein Benutzerpasswort in einem anderen Format gespeichert ist,
|
|
|
|
// wird es bei der ersten Benutzung des Klartext-Passworts in das neue Format
|
|
|
|
// konvertiert.
|
|
|
|
//define('CRYPT_ALG', '$1'); // MD5
|
|
|
|
//define('CRYPT_ALG', '$2y$13'); // Blowfish
|
|
|
|
//define('CRYPT_ALG', '$5$rounds=5000'); // SHA-256
|
|
|
|
define('CRYPT_ALG', '$6$rounds=5000'); // SHA-512
|
|
|
|
|
|
|
|
define('MIN_PASSWORD_LENGTH', 8);
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-07-12 16:17:18 +02:00
|
|
|
// Wenn Engel beim Registrieren oder in ihrem Profil eine T-Shirt Größe angeben sollen, auf true setzen:
|
|
|
|
$enable_tshirt_size = false;
|
|
|
|
|
2007-12-28 13:38:18 +01:00
|
|
|
// timezonen offsett
|
|
|
|
$gmdateOffset=3600;
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2011-07-12 16:28:17 +02:00
|
|
|
// für Developen 1, sonst = 0
|
2011-06-01 12:13:39 +02:00
|
|
|
$debug = 0;
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
//globale const. fuer schischtplan
|
|
|
|
$GlobalZeileProStunde = 4;
|
|
|
|
|
2006-08-29 11:02:47 +02:00
|
|
|
//Tempdir
|
2008-08-15 00:48:17 +02:00
|
|
|
$Tempdir="./tmp";
|
2006-08-29 11:02:47 +02:00
|
|
|
|
2008-05-06 23:32:24 +02:00
|
|
|
// local timezone
|
|
|
|
date_default_timezone_set("Europe/Berlin");
|
|
|
|
|
2011-07-12 16:28:17 +02:00
|
|
|
//Pentabarf ConferenzDI für UpdateDB
|
2007-11-09 23:17:13 +01:00
|
|
|
$PentabarfXMLhost = "cccv.pentabarf.org";
|
2006-11-14 00:40:06 +01:00
|
|
|
$PentabarfXMLpath = "Xcal/conference/";
|
|
|
|
$PentabarfXMLEventID = "31";
|
2009-11-10 23:05:37 +01:00
|
|
|
|
|
|
|
//Mailing List: is is not defined, the option is not shown
|
|
|
|
//$SubscribeMailinglist = "*-subscribe@lists.*";
|
|
|
|
|
2010-12-29 14:06:07 +01:00
|
|
|
/// Passord for external Authorization, function only active if the var is defined
|
|
|
|
//$CurrentExternAuthPass = 23;
|
|
|
|
|
2012-12-26 17:27:27 +01:00
|
|
|
// multiply "night shifts" (start or end between 2 and 6 exclusive) by 2
|
|
|
|
$shift_sum_formula = "SUM(
|
|
|
|
(1+(
|
|
|
|
(HOUR(FROM_UNIXTIME(`Shifts`.`end`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) < 6)
|
|
|
|
OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`start`)) < 6)
|
|
|
|
OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) <= 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) >= 6)
|
|
|
|
))*(`Shifts`.`end` - `Shifts`.`start`)
|
|
|
|
)";
|
|
|
|
|
|
|
|
// weigh every shift the same
|
|
|
|
//$shift_sum_formula = "SUM(`end` - `start`)";
|
2012-12-28 22:53:05 +01:00
|
|
|
|
|
|
|
// For accessing stats
|
|
|
|
$api_key = "";
|
|
|
|
|
2005-09-10 19:25:43 +02:00
|
|
|
?>
|