Fixed the template.php to work with both local and live testing.
Fixed the template.php to work with both local and live testing.

aiwenlg007/osmplayer,aiwenlg007/osmplayer,devlan0126/osmplayer,devlan0126/osmplayer,devlan0126/osmplayer,aiwenlg007/osmplayer