Minahito
minah****@users*****
2006年 8月 24日 (木) 15:55:38 JST
Index: xoops2jp/html/modules/base/admin/class/EasyLex_SQLScanner.class.php diff -u xoops2jp/html/modules/base/admin/class/EasyLex_SQLScanner.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/class/EasyLex_SQLScanner.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/class/EasyLex_SQLScanner.class.php:1.1.2.2 Thu Aug 24 13:57:16 2006 +++ xoops2jp/html/modules/base/admin/class/EasyLex_SQLScanner.class.php Thu Aug 24 15:55:38 2006 @@ -1,7 +1,7 @@ <?php /** * @package EasyLexSQL - * @varsion $Id: EasyLex_SQLScanner.class.php,v 1.1.2.2 2006/08/24 04:57:16 minahito Exp $ + * @varsion $Id: EasyLex_SQLScanner.class.php,v 1.1.2.3 2006/08/24 06:55:38 minahito Exp $ * * In the original BSD license, both occurrences of the phrase "COPYRIGHT * HOLDERS AND CONTRIBUTORS" in the disclaimer read "REGENTS AND CONTRIBUTORS". @@ -154,7 +154,7 @@ $t_buff = ""; while ($str = fgets($fp)) { if ($preprocess) { - $str = preg_replace("/\#.*/", "", $str); + $str = preg_replace("/^\s*\#.*/", "", $str); } $t_buff .= $str; }