[mythtv] Mythweb: init.php - problem with php split function

Chris Petersen lists at forevermore.net
Mon Nov 22 21:15:18 UTC 2004


> Unfortunately if image_cache starts with a '/' this doesn't work.  The
> PHP4 split function returns null for first element if pattern match is
> found at the beginning of the string.  Odd, but true - see test script:

Why would you want it to start with a / ??  It needs to be in your web 
tree, so it should be a local path.  Otherwise, you wouldn't be able to 
see the images from a web browser.

-Chris


More information about the mythtv-dev mailing list