aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-19 21:15:53 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-19 21:15:53 +0000
commit8ad2eb254717b68f4413da74e75639d48e648fab (patch)
treea84adab5383ee846062818f3b2c1b17a9f28c72a /includes
parentfc4ef652b9565c913a805c3f4010cd1c95476196 (diff)
downloadphpicalendar-8ad2eb254717b68f4413da74e75639d48e648fab.tar.gz
phpicalendar-8ad2eb254717b68f4413da74e75639d48e648fab.tar.bz2
phpicalendar-8ad2eb254717b68f4413da74e75639d48e648fab.zip
add login to month view
Diffstat (limited to 'includes')
-rw-r--r--includes/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/login.php b/includes/login.php
index e7713c1..83a7f1c 100644
--- a/includes/login.php
+++ b/includes/login.php
@@ -1,7 +1,7 @@
<?php
// Hide the login block if logged in, there are no lock usernames,
// or if authenticated via HTTP.
- if ($username == '' && $allow_login == 'yes' && !isset($_SERVER['PHP_AUTH_USER'])) {
+ if ($username == '' && $phpiCal_config->allow_login == 'yes' && !isset($_SERVER['PHP_AUTH_USER'])) {
// Set the login table width if not set.
if (!isset($login_width)) $login_width = "100%";

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