[mythtv-commits] Ticket #403: init.php: image_cache directory creation is broken

MythTV mythtv at cvs.mythtv.org
Sat Oct 1 17:44:17 UTC 2005


#403: init.php: image_cache directory creation is broken
--------------------------------------------+-------------------------------
 Reporter:  Adam Di Carlo <aph at debian.org>  |       Owner:  ijr
     Type:  defect                          |      Status:  new
 Priority:  minor                           |   Milestone:     
Component:  mythtv                          |     Version:     
 Severity:  low                             |  --------------------------------------------+-------------------------------
 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.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/403>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list