Welcome Guest, Not a member yet? Register   Sign In
Pass variables from config to library
#2

[eluser]Michael Wales[/eluser]
You are missing the CI object in your variable declarations:

Code:
var $CI;
    var $imagick         = $this->CI->config->item('path_imagemagick');
    var $temppath         = $this->CI->config->item('path_tempdir');
    var $newpath         = $this->CI->config->item('path_photosdir');


Messages In This Thread
Pass variables from config to library - by El Forum - 10-26-2007, 09:06 AM
Pass variables from config to library - by El Forum - 10-26-2007, 09:28 AM
Pass variables from config to library - by El Forum - 10-26-2007, 09:33 AM
Pass variables from config to library - by El Forum - 10-26-2007, 09:45 AM
Pass variables from config to library - by El Forum - 10-26-2007, 09:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB