</td> </tr> <tr> <th class="adminheading"><?php echo JText::_('COM_JDOWNLOADS_BACKEND_PANEL_STATUS_DOWNLOADS_HEADER') . " "; ?> </th> </tr> <tr> <td> <?php if ($jlistConfig['files.autodetect']) { // start the auto monitoring JDownloadsHelper::runMonitoring(); } else { echo '<b><font color="#FF6600">' . JText::_('COM_JDOWNLOADS_BACKEND_PANEL_STATUS_DOWNLOADS_OFF_DESC') . '</font></b><br />'; } // get the secret key then we need it as link param // so nobody else outside can run the script (or he know the key value - e.g. to start it via a cronjob) $config = JFactory::getConfig(); $key = $config->get('secret'); ?> <br /> <div><a href="<?php echo JURI::base(); ?> components/com_jdownloads/helpers/scan.php?key=<?php echo $key; ?>