Changeset 15698
- Timestamp:
- 2007/09/13 19:15:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/util/SC_Utils.php
r15691 r15698 1663 1663 } 1664 1664 1665 /** 1666 * XML宣言を出力する. 1667 * 1668 * XML宣言があると問題が発生する UA は出力しない. 1669 * 1670 * @return string XML宣言の文字列 1671 */ 1672 function printXMLDeclaration() { 1673 $ua = $_SERVER['HTTP_USER_AGENT']; 1674 if (!preg_match("/MSIE/", $ua) || preg_match("/MSIE 7/", $ua)) { 1675 print('<?xml version="1.0" encoding="' . CHAR_CODE . '"?>'); 1676 } 1677 } 1678 1665 1679 /* デバッグ用 ------------------------------------------------------------------------------------------------*/ 1666 1680 function sfPrintR($obj) {
Note: See TracChangeset
for help on using the changeset viewer.