#1 大腰怪
Deprecated: Function ereg() is deprecated in /SpeedPHP/Misc/notice.php on line 51和
Deprecated: Function ereg_replace() is deprecated in /SpeedPHP/Misc/notice.php on line 54
修改/SpeedPHP/Misc/notice.php文件为如下
function highlight_code($code){
if (preg_match("<\?(php)?[^[:graph:]]", $code)) {
$code = highlight_string($code, TRUE);
} else {
$code = preg_replace("(<\?php )+", "", highlight_string(" }
return $code;
}
原因为使用了php5.3不支持的方法ereg()和ereg_replace() 给替换了就对了
2013-09-12 21:10:29