I've replaced the text in functions.php like you said on
http://code.google.com/p/zenphotoiphone/wiki/Redirect with the
following path:
$UA = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER
['HTTP_USER_AGENT'] : "";
$iphone = stristr($UA, 'iPhone') ? true : false;
if($iphone){
$theme = "/home/username/public_html/pictures/themes/
iphone"; // iphone theme.
}else{
$theme = $_zp_gallery->getCurrentTheme(); // regular theme
}
The only difference is that I've changed my "zenphoto" folder to
"pictures" and obviously I have my actual username where it is in the
path. Can anyone tell me what I am doing wrong? I'm also using the
latest ZenPhoto (1.2.8) so I don't know if they've changed something
with the new release that could cause a problem? I'm also hosted on
HostGator if that matters to anyone.
The regular theme still loads fine however.
Thanks.