webcalendar

Check-in [56cae09514]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update paths used
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:56cae095148d642e333083aee26b1bed65c785501bcb38197bb59c1ebbbb906a
User & Date: vandys 2018-06-06 03:54:24
Context
2018-06-06
03:56
Stale file header check-in: 383bcce973 user: vandys tags: master, trunk
03:54
Update paths used check-in: 56cae09514 user: vandys tags: master, trunk
2018-03-29
04:20
Fix some breakage; looks like PHP has changed a bit since the source was written. check-in: 63a1e79c45 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to cgi-bin/webcal.py.

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

# Map from abbreviated weekday name to ical standard index
DAYIDX = {"mo": 0, "tu": 1, "we": 2, "th": 3, "fr": 4, "sa": 5, "su": 6}
DAYNAMES = ("mo", "tu", "we", "th", "fr", "sa", "su")

# Load Webcalendar config into cfg{}
HTBASE = "/webcal/"
CALBASE = "/var/www/" + HTBASE
CFG = CALBASE + "includes/settings.php"
cfg = {}
def load_cfg(fn):
    global cfg

    f = open(CFG, "r")
    for l in f:







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

# Map from abbreviated weekday name to ical standard index
DAYIDX = {"mo": 0, "tu": 1, "we": 2, "th": 3, "fr": 4, "sa": 5, "su": 6}
DAYNAMES = ("mo", "tu", "we", "th", "fr", "sa", "su")

# Load Webcalendar config into cfg{}
HTBASE = "/webcal/"
CALBASE = "/var/www/html/" + HTBASE
CFG = CALBASE + "includes/settings.php"
cfg = {}
def load_cfg(fn):
    global cfg

    f = open(CFG, "r")
    for l in f:

Changes to tools/reminders.sh.

1
2
3
4
5
#!/bin/sh
exec >> /tmp/reminders.log 2>&1
cd /var/www/webcal/tools
php send_reminders.php
exit $?


|


1
2
3
4
5
#!/bin/sh
exec >> /tmp/reminders.log 2>&1
cd /var/www/html/webcal/tools
php send_reminders.php
exit $?