CodeIgniter Forums
Please fix deprecated method safe_mode in 2.2.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Please fix deprecated method safe_mode in 2.2.2 (/showthread.php?tid=61506)



Please fix deprecated method safe_mode in 2.2.2 - Egor - 04-21-2015

Path: system/core/CodeIgniter.php

Line: 106
if (function_exists("set_time_limit") == TRUE AND @ini_get("safe_mode") == 0)
{
@set_time_limit(300);
}

ini_get("safe_mode") -> Deprecated and removed in PHP 5.4

CLI functions not working (max_execution_time always 300)