• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] CI 3.1.0 ImageMagick not working

#2
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.