Opened 18 years ago
Closed 17 years ago
#5273 closed patch (duplicate)
mythweb - weather module - animated maps fix for release-0-21-fixes branch
| Reported by: | Owned by: | Rob Smith | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythweb | Version: | 0.21-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The current php template does not properly load the radar images if mythweb it not to root of the host server (or a vhost). So if the url to access is http://192.168.0.100/mythweb/weather then the original php file looks for http://192.168.0.100/data/cache/whatever-0 instead of looking for http://192.168.0.100/mythweb/data/cache/whatever-0.
Attached is a diff of 0-21-fixes weather.am.php at SVN 16203. It works fine for me using a non-root mythweb but may need further testing / verification before being applied (i.e. not sure how it would effect vhost configuration).
Attachments (1)
Change History (5)
by , 18 years ago
| Attachment: | weather.am.php.diff added |
|---|
comment:1 by , 18 years ago
comment:3 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |

Replying to Paul Sands <usg990a@cebridge.net>:
Sorry, apparently I cannot type this evening. That should say:
The current php template does not properly load the radar images if mythweb is not the root of the host server (or a vhost).