Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] CI 3.1.0 ImageMagick not working
#2

(This post was last modified: 07-27-2016, 10:13 PM by John_Betong. Edit Reason: removed extra clsoing bracket )

OK, further experimentation and managed a very quick solution:

file: /CodeIgniter-3.1.0/system/libraries/Image_lib.php

PHP Code:
// line: 891
// exec() might be disabled
if (function_usable('exec'))
{
  
// ADDED THIS LINE TO REMOVE SINGLE QUOTES
  
$cmd str_replace("'"""$cmd); 
  @
exec($cmd$output$retval);

Reply


Messages In This Thread
RE: CI 3.1.0 ImageMagick not working - by John_Betong - 07-27-2016, 10:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB