Notice: Trying to get property of non-object in /usr/home/kovalenko/data/www/kovalenko.ck.ua/administrator/components/com_joomgallery/admin.joomgallery.php on line 73 Notice: Trying to get property of non-object in /usr/home/kovalenko/data/www/kovalenko.ck.ua/administrator/components/com_joomgallery/admin.joomgallery.php on line 76 Код (PHP): case 'configuration': //check update files from previous update and delete them jimport('joomla.filesystem.file'); if(JFile::exists(JPATH_COMPONENT.DS.'joomgalleryupdate.xml')) { JFile::delete(JPATH_COMPONENT.DS.'joomgalleryupdate.xml'); } //73 if(JFile::exists(JPath::clean(JPATH_ROOT.DS.$config->jg_pathtemp.'update.zip'))){ JFile::delete(JPath::clean(JPATH_ROOT.DS.$config->jg_pathtemp.'update.zip')); } //76 if(JFolder::exists(JPath::clean(JPATH_ROOT.DS.$config->jg_pathtemp.'update'))){ JFolder::delete(JPath::clean(JPATH_ROOT.DS.$config->jg_pathtemp.'update')); } $task = 'configuration'; break;