Opened 18 years ago
Closed 18 years ago
#1121 closed defect (fixed)
Typo in code used to create link for data/video
Reported by: | Owned by: | xris | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythweb | Version: | |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
In MythWeb's modules/video/handler.php on line 46, the code that's creating the symlink for data/video uses $dir instead of $mythvideo_dir.
The line should be:
$ret = @symlink($mythvideo_dir, 'data/video');
Before changing the variable name, I get:
lrwxrwxrwx 1 httpd httpd 15 Jan 25 20:04 video -> Resource id #38
After changing it to $mythvideo_dir, I get:
lrwxrwxrwx 1 httpd httpd 26 Jan 25 20:06 video -> /var/storage/mythtv/videos
(no patch attached per conversation on IRC)
Note: See
TracTickets for help on using
tickets.
(In [8727]) fix #1121