Skip to content

Commit

Permalink
refs #1604 : bugfix : duplicate apple iOS device shortcut image
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 25, 2012
1 parent dbb04e3 commit b3a55c6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,6 @@ function printMobileHTMLHeader($title = '') {
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="<?php echo $context->getProperty('service.path');?>/resources/style/iphone/iphone.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $context->getProperty('service.path');?>/resources/style/iphone/jquery.mobile-<?php echo JQUERYMOBILE_VERSION;?>.css" />
<?php
if(Setting::getBlogSettingGlobal('useBlogIconAsIphoneShortcut',true) && file_exists(ROOT."/attach/".$context->getProperty('blog.id')."/index.gif")) {
?>
<link rel="apple-touch-icon" href="<?php echo $context->getProperty('uri.default')."/index.gif";?>" />
<?php
}
?>
<script type="application/x-javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/jquery/jquery-<?php echo JQUERY_VERSION;?>.js"></script>
<script type="application/x-javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/jquery.mobile/jquery.mobile-<?php echo JQUERYMOBILE_VERSION;?>.js"></script>
<!--<script>
Expand Down Expand Up @@ -303,7 +296,6 @@ function printMobileFreeImageResizer($content) {

function printMobileImageResizer($blogid, $filename, $cropSize){
global $serviceURL;
requireComponent('Textcube.Function.misc');

if (!is_dir(ROOT."/cache/thumbnail")) {
@mkdir(ROOT."/cache/thumbnail");
Expand Down

0 comments on commit b3a55c6

Please sign in to comment.