[mythtv-commits] Re: Ticket #854: Channel Icons pointing to wrong
location in mythweb
MythTV
mythtv at cvs.mythtv.org
Tue Dec 27 08:45:07 EST 2005
#854: Channel Icons pointing to wrong location in mythweb
--------------------------------+-------------------------------------------
Reporter: skd5aner at gmail.com | Owner: xris
Type: defect | Status: reopened
Priority: minor | Milestone:
Component: mythweb | Version: head
Severity: low | Resolution:
--------------------------------+-------------------------------------------
Comment (by torbjorn.jansson at mbox200.swipnet.se):
Changeset [8341] does not fix the problem completly because the is_file()
function uses local filesyste path and not virutal dir as seen by the
webserver.
This is easily fixed by changing
{{{
#!cpp
if (is_file($channel->icon))
}}}
to
{{{
#!cpp
if (is_file($_SERVER["DOCUMENT_ROOT"]."/".$channel->icon))
}}}
in themes/default/tv/list.php themes/default/tv/detail.php and
themes/default/tv/channel.php
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/854>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list