Opened 21 years ago
Closed 21 years ago
#403 closed patch (fixed)
init.php: image_cache directory creation too clever by half
| Reported by: | Owned by: | xris | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythweb | Version: | |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The image_cache directory handling is pretty broken. For one thing, it will strip off a leading slash.
Rather than split on path components and try to mkdir every directory, I think it's better to just check and/or create the exact image_cache directory, and exit if the mkdir fails. This simplifies the code.
Attachments (1)
Change History (4)
by , 21 years ago
| Attachment: | 2005-09-30_init_image_cache.diff added |
|---|
comment:1 by , 21 years ago
| Summary: | init.php: image_cache directory creation is broken → init.php: image_cache directory creation too clever by half |
|---|---|
| Type: | defect → patch |
comment:2 by , 21 years ago
| Component: | mythtv → mythweb |
|---|---|
| Owner: | changed from to |
comment:3 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Basically applied your patch, but it's also a moot point as svn now lets me more easily manage actually including this directory in the repository.
Note:
See TracTickets
for help on using tickets.

The attachment is against the 0.18 branch.