fixed the download scanner link and made it configurable

This commit is contained in:
sandb 2010-11-14 07:50:46 +01:00
parent 755a608cd7
commit d2c4505261
3 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,7 @@ DownloadScriptButton.prototype.draw = function() {
};
DownloadScriptButton.prototype.execute = function() {
location.href = 'pamela-scanner.sh';
location.href = config.scannerDownloadLink;
};
// Class IFace buttons

View File

@ -7,4 +7,5 @@ config = new function() {
this.image = "<?php echo PAM_IMAGE; ?>";
this.buttonColor = "<?php echo PAM_BUT_COLOR; ?>";
this.buttonShow = <?php echo PAM_BUT_SHOW=="TRUE"?"true":"false"; ?>;
this.scannerDownloadLink = "<?php echo PAM_SCANNER_LINK; ?>";
}

0
scanner/pamela-scanner.sh Executable file → Normal file
View File