取消base文件中的filter_exp函数并入Input类

This commit is contained in:
thinkphp
2013-03-27 12:03:43 +08:00
parent 0e1f77e0fa
commit edb1b47a48
2 changed files with 17 additions and 7 deletions

View File

@@ -283,11 +283,4 @@ function S($name,$value='',$options=null) {
$expire = is_numeric($options)?$options:NULL;
return Think\Cache::set($name, $value, $expire);
}
}
// 过滤表单中的表达式
function filter_exp(&$value){
if (in_array(strtolower($value),array('exp','or'))){
$value .= ' ';
}
}