diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-23 06:39:06 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-23 06:39:06 +0000 |
commit | 609650a5e790ecd6c1107a8a8924936284a9c010 (patch) | |
tree | 7814f132e9ad6343ddbe0ab41aab4d845425e9ba /month.php | |
parent | 626ad791d35bfaba4678f54c144e321f0fc8f23c (diff) | |
download | phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.tar.gz phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.tar.bz2 phpicalendar-609650a5e790ecd6c1107a8a8924936284a9c010.zip |
Added BASE to files, started 0.8 README
Diffstat (limited to 'month.php')
-rw-r--r-- | month.php | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,11 +1,8 @@ <?php $current_view = "month"; - include("./functions/ical_parser.php"); - if ($minical_view == "current") $minical_view = "month"; - - //might not need this, depending on implimentation, doesn't work correctly in current form anyway - //setcookie("last_view", "month"); - + define('BASE', './'); + include(BASE.'functions/ical_parser.php'); + if ($minical_view == 'current') $minical_view = 'month'; ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); $this_day = $day_array2[3]; |