Changeset 21468
- Timestamp:
- 2012/02/09 18:45:53 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Mobile.php
r21465 r21468 235 235 ob_start(array('SC_MobileImage_Ex', 'handler')); 236 236 237 // 内部エンコーディングから Shift JIS に変換する。 238 ob_start('mb_output_handler'); 239 237 240 //download.phpに対してカタカナ変換をするとファイルが壊れてしまうため回避する 238 241 if ($_SERVER['SCRIPT_FILENAME'] != HTML_REALDIR . "mypage/download.php") { 239 242 // 全角カタカナを半角カタカナに変換する。 240 ob_start(create_function('$buffer', 'return mb_convert_kana($buffer, "k", "SJIS-win");')); 241 } 242 243 // 内部エンコーディングから Shift JIS に変換する。 244 ob_start('mb_output_handler'); 243 ob_start(create_function('$buffer', 'return mb_convert_kana($buffer, "k");')); 244 } 245 245 } 246 246 -
branches/version-2_12-dev/data/class/pages/LC_Page_Index.php
r21420 r21468 43 43 */ 44 44 function init() { 45 // $replace_callback = create_function('$matches', 'return SC_MobileEmoji_Ex::indexToCode($matches[1]);'); 46 //var_dump($replace_callback); 47 //exit; 48 // return preg_replace_callback('/\[emoji:(e?\d+)\]/', $replace_callback, $buffer); 49 50 strpos(); 51 // $objQuery =& SC_Query_Ex::getSingletonInstance(); 52 // $objQuery->select('x', 'x'); 53 x(); 45 54 parent::init(); 46 55 }
Note: See TracChangeset
for help on using the changeset viewer.