mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-01 01:03:55 +00:00
use existing var
This commit is contained in:
parent
14aa58899b
commit
aae0a965b7
@ -54,7 +54,7 @@ class JedcheckerControllerUploads extends JControllerLegacy
|
|||||||
public function upload()
|
public function upload()
|
||||||
{
|
{
|
||||||
$appl = JFactory::getApplication();
|
$appl = JFactory::getApplication();
|
||||||
$input = JFactory::getApplication()->input;
|
$input = $appl->input;
|
||||||
|
|
||||||
// Check the sent token by the form
|
// Check the sent token by the form
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||||
@ -164,7 +164,7 @@ class JedcheckerControllerUploads extends JControllerLegacy
|
|||||||
// Scan unzipped folders if we find zip file -> unzip them as well
|
// Scan unzipped folders if we find zip file -> unzip them as well
|
||||||
$this->unzipAll($this->pathUnzipped . '/' . $file[0]);
|
$this->unzipAll($this->pathUnzipped . '/' . $file[0]);
|
||||||
$message = 'COM_JEDCHECKER_UNZIP_SUCCESS';
|
$message = 'COM_JEDCHECKER_UNZIP_SUCCESS';
|
||||||
JFactory::getApplication()->enqueueMessage(JText::_($message));
|
$appl->enqueueMessage(JText::_($message));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user