Changeset 21589 for branches/version-2_12-dev/data/class/util/GC_Utils.php
- Timestamp:
- 2012/03/04 22:25:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/GC_Utils.php
r21582 r21589 106 106 } 107 107 if (($arrLine['class'] === 'GC_Utils' || $arrLine['class'] === 'GC_Utils_Ex') 108 && $arrLine['function'] === 'gfDebugLog'108 && ($arrLine['function'] === 'gfDebugLog' || $arrLine['function'] === 'gfPrintLog') 109 109 ) { 110 110 break 1; … … 389 389 return defined('INSTALL_FUNCTION') && INSTALL_FUNCTION === true; 390 390 } 391 392 /** 393 * XML宣言を出力する. 394 * 395 * XML宣言があると問題が発生する UA は出力しない. 396 * 397 * @return string XML宣言の文字列 398 */ 399 function printXMLDeclaration() { 400 $ua = $_SERVER['HTTP_USER_AGENT']; 401 if (!preg_match('/MSIE/', $ua) || preg_match('/MSIE 7/', $ua)) { 402 echo '<?xml version="1.0" encoding="' . CHAR_CODE . '"?>' . "\n"; 403 } 404 } 391 405 }
Note: See TracChangeset
for help on using the changeset viewer.