diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-11 19:13:23 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-11 19:13:23 +0000 |
commit | 798eb784e9ef737d4642040cb3178b237c53ec26 (patch) | |
tree | 4bc10c7bb3c7a7458dcd3d9772c3da02f4e9c355 /index.php | |
parent | 01ac49f5d81baac6afdb519d313aeed1a2009d6f (diff) | |
download | phpicalendar-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.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |