php safe_mode 判断
http://codeigniter.org.cn/forums/thread-13112-1-1.html
$safe_mode = @ini_get("safe_mode"); if(strtolower($safe_mode) === 'off') { $safe_mode = FALSE; } if (function_exists("set_time_limit") == TRUE AND (boolean)$safe_mode === FALSE){ set_time_limit(300); }