diff options
author | Andrey Andreev <narf@devilix.net> | 2016-12-14 15:14:13 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-12-14 15:14:13 +0100 |
commit | 24c866628d0ce5463d7e8b4eba512fa9e7752dfd (patch) | |
tree | 39d65288647ecaae09e2b9bc6a15e34e53f7d7d4 /system/libraries/Upload.php | |
parent | 26313bddee1fb67af10141671a47bbe703a025fd (diff) |
Drop all PHP 5.3-related code
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 490421af9..ac5c9e42d 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1276,7 +1276,7 @@ class CI_Upload { } } - if ( ! ini_get('safe_mode') && function_usable('shell_exec')) + if (function_usable('shell_exec')) { $mime = @shell_exec($cmd); if (strlen($mime) > 0) |