aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-23 06:39:06 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-23 06:39:06 +0000
commit609650a5e790ecd6c1107a8a8924936284a9c010 (patch)
tree7814f132e9ad6343ddbe0ab41aab4d845425e9ba /month.php
parent626ad791d35bfaba4678f54c144e321f0fc8f23c (diff)
downloadphpicalendar-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.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/month.php b/month.php
index 8afbee9..3ce20eb 100644
--- a/month.php
+++ b/month.php
@@ -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];

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