]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated mobilelogo extension
authorSarven Capadisli <csarven@status.net>
Fri, 9 Oct 2009 14:48:14 +0000 (14:48 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 9 Oct 2009 14:48:14 +0000 (14:48 +0000)
plugins/MobileProfile/MobileProfilePlugin.php

index 21eaa124e71178ae8d8e3669bb6dfe695c123837..1164974b97cc2c67dd61e1f2886a3c4c6218247b 100644 (file)
@@ -236,7 +236,7 @@ class MobileProfilePlugin extends WAP20Plugin
 
             $action->element('img', array('class' => 'photo',
                 'src' => (common_config('site', 'mobilelogo')) ? common_config('site', 'mobilelogo') : 
-                            ((file_exists(theme_file('mobilelogo.gif'))) ? (theme_path('mobilelogo.gif')): theme_path('logo.png')),
+                            ((file_exists(theme_file('mobilelogo.png'))) ? (theme_path('mobilelogo.png')) : theme_path('logo.png')),
                 'alt' => common_config('site', 'name')));
         }
         $action->element('span', array('class' => 'fn org'), common_config('site', 'name'));