[mythtv-commits] Ticket #1121: Typo in code used to create link for data/video

MythTV mythtv at cvs.mythtv.org
Thu Jan 26 01:08:46 UTC 2006


#1121: Typo in code used to create link for data/video
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  xris
     Type:  defect                            |      Status:  new 
 Priority:  trivial                           |   Milestone:      
Component:  mythweb                           |     Version:      
 Severity:  low                               |  
----------------------------------------------+-----------------------------
 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)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1121>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list