codes****@googl*****
codes****@googl*****
2009年 3月 17日 (火) 01:35:16 JST
Author: tacahi Date: Mon Mar 16 08:56:07 2009 New Revision: 1281 Modified: branches/geeklog-1.5.1-jp/system/custom/custom_cellular.php (contents, props changed) Log: r1279の変更をマージします。 Issue 59に対応。 ->CUSTOM_refresh()内で$linkとすべきところがlinkになっていたのを修正。 Ivyさん経由でmistral-kkさんの指摘によりphpの終了タグを削除。 参考: http://www.php.net/manual/ja/language.basic-syntax.instruction-separation.php http://framework.zend.com/manual/ja/coding-standard.php-file-formatting.html Modified: branches/geeklog-1.5.1-jp/system/custom/custom_cellular.php ============================================================================== --- branches/geeklog-1.5.1-jp/system/custom/custom_cellular.php (original) +++ branches/geeklog-1.5.1-jp/system/custom/custom_cellular.php Mon Mar 16 08:56:07 2009 @@ -275,7 +275,7 @@ $sepa = '&'; //$sepa = '&'; } - $location_url = 'Location: ' . $url . $sepa . SID . link; + $location_url = 'Location: ' . $url . $sepa . SID . $link; header( $location_url ); exit; } else { @@ -285,7 +285,7 @@ if (strpos($url, '?') > 0) { $sepa = '&'; } - $location_url = $url . $sepa . SID . link; + $location_url = $url . $sepa . SID . $link; return "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"" . "\"http://www.w3.org/TR/html4/loose.dtd\">\n" . "<html><head><title>$msg</title></head>" . @@ -825,5 +825,3 @@ . '&quality=' . $CUSTOM_MOBILE_CONF['image_quality'] . '&site_url=' . $_CONF['site_url'] . '"$3 ' . XHTML . '>', ); - -?>