Opened 14 years ago

Closed 14 years ago

#1121 closed defect (fixed)

Typo in code used to create link for data/video

Reported by: sphery <mtdean@…> 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)

Change History (1)

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [8727]) fix #1121

Note: See TracTickets for help on using tickets.