public function step() { $checker = new F0FUtilsFilescheck('com_akeeba', AKEEBA_VERSION, AKEEBA_DATE); $idx = $this->input->getInt('idx', 0); $result = $checker->slowCheck($idx); echo '###' . json_encode($result) . '###'; // Cut the execution short JFactory::getApplication()->close(); }
/** * Perform a fast check of Akeeba Backup's files * * @return bool False if some of the files are missing or tampered with */ public function fastCheckFiles() { $checker = new F0FUtilsFilescheck('com_akeeba', AKEEBA_VERSION, AKEEBA_DATE); return $checker->fastCheck(); }
/** * Perform a fast check of Admin Tools' files * * @return bool False if some of the files are missing or tampered with */ public function fastCheckFiles() { $checker = new F0FUtilsFilescheck('com_admintools', ADMINTOOLS_VERSION, ADMINTOOLS_DATE); return $checker->fastCheck(); }