aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-11 19:13:23 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-11 19:13:23 +0000
commit798eb784e9ef737d4642040cb3178b237c53ec26 (patch)
tree4bc10c7bb3c7a7458dcd3d9772c3da02f4e9c355 /index.php
parent01ac49f5d81baac6afdb519d313aeed1a2009d6f (diff)
downloadphpicalendar-798eb784e9ef737d4642040cb3178b237c53ec26.tar.gz
phpicalendar-798eb784e9ef737d4642040cb3178b237c53ec26.tar.bz2
phpicalendar-798eb784e9ef737d4642040cb3178b237c53ec26.zip
Print view now allows to be your default view.
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 177c4e3..eadbebb 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,11 @@
<?php
include "./config.inc.php";
-$default_view = "$default_view" . ".php";
+if ($printview_default == 'yes') {
+ $default_view = "print.php?printview=$default_view";
+} else {
+ $default_view = "$default_view" . ".php";
+}
header("Location: $default_view");
?> \ No newline at end of file

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