summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-12-28 12:38:18 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-12-28 12:38:18 +0000
commit2cef94af74cb0e1be45360e6f5a2f7bd9bd061be (patch)
treeddf391b71b6237a6dbaffb66f022f98af59bd097
parent8f176d375befd5df096a8bc10e502af78dd3c088 (diff)
zeitzohne instellbar
git-svn-id: svn://svn.cccv.de/engel-system@256 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-xdefault-conf/www-ssl/inc/config.php5
-rwxr-xr-xservices/cron_dect.php4
-rwxr-xr-xwww-ssl/nonpublic/schichtplan.php2
3 files changed, 7 insertions, 4 deletions
diff --git a/default-conf/www-ssl/inc/config.php b/default-conf/www-ssl/inc/config.php
index a1d30867..ef9a2cd0 100755
--- a/default-conf/www-ssl/inc/config.php
+++ b/default-conf/www-ssl/inc/config.php
@@ -20,6 +20,11 @@ $LETZTES_AUSTRAGEN=3;
$crypt_system="md5";
//$crypt_system="crypt";
+// the archangels
+$arch_angels="Daisy, BugBlue, TabascoEye";
+
+// timezonen offsett
+$gmdateOffset=3600;
// für Developen 1, sonst = 0
$DEBUG = 0;
diff --git a/services/cron_dect.php b/services/cron_dect.php
index c0ee8761..fba53eb2 100755
--- a/services/cron_dect.php
+++ b/services/cron_dect.php
@@ -24,8 +24,8 @@ if( $DebugDECT)
$SQL .= "WHERE (Shifts.DateS>'2007-07-09 09:45:00' AND ".
"Shifts.DateS<='2007-07-09 11:00:00');";
else
- $SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+3600+120+3600). "') AND ".
- "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+3600+120+3600+$StartTimeBeforEvent). "') );";
+ $SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset). "') AND ".
+ "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset+$StartTimeBeforEvent). "') );";
$Erg = mysql_query($SQL, $con);
echo mysql_error($con);
diff --git a/www-ssl/nonpublic/schichtplan.php b/www-ssl/nonpublic/schichtplan.php
index 0c29f862..d4c5a71c 100755
--- a/www-ssl/nonpublic/schichtplan.php
+++ b/www-ssl/nonpublic/schichtplan.php
@@ -3,8 +3,6 @@ $title = "Himmel";
$header = "Schichtpl&auml;ne";
$submenus = 2;
-$gmdateOffset=3600+3600;
-
if( isset($_GET["ausdatum"]))
$ausdatum = $_GET["ausdatum"];
if( isset($_GET["raum"]))