fixed the download scanner link and made it configurable
This commit is contained in:
@@ -108,7 +108,7 @@ DownloadScriptButton.prototype.draw = function() {
|
||||
};
|
||||
|
||||
DownloadScriptButton.prototype.execute = function() {
|
||||
location.href = 'pamela-scanner.sh';
|
||||
location.href = config.scannerDownloadLink;
|
||||
};
|
||||
|
||||
// Class IFace buttons
|
||||
|
||||
@@ -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
0
scanner/pamela-scanner.sh
Executable file → Normal file
Reference in New Issue
Block a user