diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-11-02 08:06:03 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-11-02 08:06:03 +0000 |
commit | 09643a5841c1cec29871e0b4d1eb4d6e10108a4b (patch) | |
tree | 9bc24cf07a31141ef3f172d2b7cf4128e3859b8d /index.php | |
parent | 956548beab93780c028f79ce0c75d06093306f19 (diff) | |
download | phpicalendar-09643a5841c1cec29871e0b4d1eb4d6e10108a4b.tar.gz phpicalendar-09643a5841c1cec29871e0b4d1eb4d6e10108a4b.tar.bz2 phpicalendar-09643a5841c1cec29871e0b4d1eb4d6e10108a4b.zip |
bug fix for repeating events where first day of month is same as repeat day
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,12 @@ <?php if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; -include "./config.inc.php"; +if (is_file("./config.inc.php")){ + include "./config.inc.php"; +}else{ + header ( "Location:./admin/new.php"); + exit; +} if (isset($_COOKIE['phpicalendar'])) { $phpicalendar = unserialize(stripslashes($_COOKIE['phpicalendar'])); $default_view = $phpicalendar['cookie_view']; |