aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-24 04:23:52 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-24 04:23:52 +0000
commit75c2230d760c618ac905fe2507506abb9fcf30c5 (patch)
tree136082f94dec7aa608b28d174124e5e3e90a2667 /functions
parentab88aa25e6d76bb56ea43a798768e966d29bef46 (diff)
downloadphpicalendar-75c2230d760c618ac905fe2507506abb9fcf30c5.tar.gz
phpicalendar-75c2230d760c618ac905fe2507506abb9fcf30c5.tar.bz2
phpicalendar-75c2230d760c618ac905fe2507506abb9fcf30c5.zip
added bleed_time to default to day_start
Diffstat (limited to 'functions')
-rw-r--r--functions/init.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php
index 7adb4e5..becdd9c 100644
--- a/functions/init.inc.php
+++ b/functions/init.inc.php
@@ -36,6 +36,8 @@ if ($cookie_uri == '') {
$cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/'));
}
+if ($bleed_time == '') $bleed_time = $day_start;
+
// If not HTTP authenticated, try login via cookies or the web page.
$username = ''; $password = '';
if (!isset($_SERVER['PHP_AUTH_USER'])) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy