svnno****@sourc*****
svnno****@sourc*****
2010年 1月 14日 (木) 01:07:10 JST
Revision: 777 http://sourceforge.jp/projects/p2-php/svn/view?view=rev&revision=777 Author: rsk Date: 2010-01-14 01:07:10 +0900 (Thu, 14 Jan 2010) Log Message: ----------- expack: - æ°çã¾ã¨ãèªã¿ã§ã¹ã¬ãããã¨ã«æ示çã«flush()ããããã«ããã - ãªã¼ããã¼ãã®è¨å®æ¼ããä¿®æ£ã Modified Paths: -------------- p2ex/trunk/conf/conf.inc.php p2ex/trunk/read_new.php p2ex/trunk/read_new_k.php -------------- next part -------------- Modified: p2ex/trunk/conf/conf.inc.php =================================================================== --- p2ex/trunk/conf/conf.inc.php 2010-01-13 15:03:54 UTC (rev 776) +++ p2ex/trunk/conf/conf.inc.php 2010-01-13 16:07:10 UTC (rev 777) @@ -501,16 +501,10 @@ */ function p2autoload($name) { - if (strncmp($name, 'Wap', 3) === 0) { - include P2_LIB_DIR . '/Wap.php'; - } - if (strncmp($name, 'P2Http', 6) === 0) { - include P2_LIB_DIR . '/P2HttpExt.php'; - } if (preg_match('/^(?: BbsMap | BrdCtl | - BrdMenu | + BrdMenu\\w* | DataPhp | FavSetManager | FileCtl | @@ -527,12 +521,24 @@ StrCtl | StrSjis | SubjectTxt | - Thread\\w* + Thread\\w* | + Wap\\w+ )$/x', $name)) { - include P2_LIB_DIR . '/' . $name . '.php'; - } - if (preg_match('/^\\w+DataStore$/', $name)) { + if ($name == 'P2Lock') { + include P2_LIB_DIR . '/FileCtl.php'; + } elseif ($name == 'ResArticle') { + include P2_LIB_DIR . '/ResHist.php'; + } elseif (strncmp($name, 'Wap', 3) === 0) { + include P2_LIB_DIR . '/Wap.php'; + } elseif (strncmp($name, 'P2Http', 6) === 0) { + include P2_LIB_DIR . '/P2HttpExt.php'; + } elseif (strncmp($name, 'BrdMenu', 7) === 0) { + include P2_LIB_DIR . '/BrdMenu.php'; + } else { + include P2_LIB_DIR . '/' . $name . '.php'; + } + } elseif (preg_match('/^\\w+DataStore$/', $name)) { include P2_LIB_DIR . '/P2DataStore/' . $name . '.php'; } } Modified: p2ex/trunk/read_new.php =================================================================== --- p2ex/trunk/read_new.php 2010-01-13 15:03:54 UTC (rev 776) +++ p2ex/trunk/read_new.php 2010-01-13 16:07:10 UTC (rev 777) @@ -354,6 +354,7 @@ } else { $read_new_html .= ob_get_flush(); } + flush(); ob_start(); if (($aThread->readnum < 1) || $aThread->unum) { @@ -368,6 +369,7 @@ } else { $read_new_html .= ob_get_flush(); } + flush(); ob_start(); // XgÉÇÁ ======================================== Modified: p2ex/trunk/read_new_k.php =================================================================== --- p2ex/trunk/read_new_k.php 2010-01-13 15:03:54 UTC (rev 776) +++ p2ex/trunk/read_new_k.php 2010-01-13 16:07:10 UTC (rev 777) @@ -338,6 +338,7 @@ } else { $read_new_html .= ob_get_flush(); } + flush(); ob_start(); if (($aThread->readnum < 1) || $aThread->unum) { @@ -352,6 +353,7 @@ } else { $read_new_html .= ob_get_flush(); } + flush(); ob_start(); // XgÉÇÁ ========================================