diff --git a/plugins/fillitup/k2/k2.php b/plugins/fillitup/k2/k2.php index 6b22581..58f09c8 100755 --- a/plugins/fillitup/k2/k2.php +++ b/plugins/fillitup/k2/k2.php @@ -437,7 +437,7 @@ public function createCategoryImage($catid, $params, $generator) { return; } - JLoader::register('Upload', JPATH_ADMINISTRATOR.'/components/com_k2/lib/class.upload.php'); + JLoader::register('Upload', JPATH_ADMINISTRATOR.'/components/com_jw_fillitup/lib/class.upload.php'); $savepath = JPATH_SITE.'/media/k2/categories'; $handle = new Upload($image); $handle->allowed = array('image/*'); @@ -458,7 +458,7 @@ public function createCategoryImage($catid, $params, $generator) protected function createItemImages($id, $catid, $params) { - JLoader::register('Upload', JPATH_ADMINISTRATOR.'/components/com_k2/lib/class.upload.php'); + JLoader::register('Upload', JPATH_ADMINISTRATOR.'/components/com_jw_fillitup/lib/class.upload.php'); $image = $this->getRandomImage($catid); if (!$image)