[mythtv-users] Alternative to music section of mythweb
John Armstrong
ja at ggrove.plus.com
Sat Apr 1 17:42:01 UTC 2006
From: "Josh Burks" <dotnofoolin at gmail.com>
> One thing I changed is I removed the URL hard coding. I didn't want to
> clobber the music.php that came with MythWeb, and you had music.php in
> all your links, so I did the following search and replace in vi to
> change the file (sorry, I'm not familar with patch):
>
> :94,104s/music.php/<?php \$_SERVER\[\'PHP_SELF\'\] ?>/g
> :114,$s/music.php/" \. \$_SERVER\[\'PHP_SELF\'\] \. "/g
>
> Now I can name the file anything I want, such as musicv2.php and all
> the links work.
Good idea. Have made that change.
More information about the mythtv-users
mailing list