diff --git a/README.md b/README.md
index 6fdfa9b..d75c1ea 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ $presets = [
'-PS' => 'microsoft-ds',
'-F' => true,
'-T' => 5,
- '--stylesheet' => "$BASEDIR/templates/hostsTable.xsl",
+ '--stylesheet' => "$BASEDIR/templates/lanScan.xsl",
'refreshPeriod' => 60,
'sudo' => false,
],
@@ -21,7 +21,7 @@ $presets = [
'-sV' => true,
'-T' => 5,
'--script' => "http-info,smb-shares-size",
- '--stylesheet' => "$BASEDIR/templates/servicesTable.xsl",
+ '--stylesheet' => "$BASEDIR/templates/hostScan.xsl",
'refreshPeriod' => 60,
'sudo' => true,
],
diff --git a/config.php b/config.php
index ab0bcf5..10bfdd5 100644
--- a/config.php
+++ b/config.php
@@ -11,7 +11,7 @@ $presets = [
'-PS' => 'microsoft-ds',
'-F' => true,
'-T' => 5,
- '--stylesheet' => "$BASEDIR/templates/hostsTable.xsl",
+ '--stylesheet' => "$BASEDIR/templates/lanScan.xsl",
'refreshPeriod' => 60,
'sudo' => false,
],
@@ -21,7 +21,7 @@ $presets = [
'-sV' => true,
'-T' => 5,
'--script' => "http-info,smb-shares-size",
- '--stylesheet' => "$BASEDIR/templates/servicesTable.xsl",
+ '--stylesheet' => "$BASEDIR/templates/hostScan.xsl",
'refreshPeriod' => 60,
'sudo' => true,
],
diff --git a/filter_inputs.php b/filter_inputs.php
index 29a8dc7..549f48c 100644
--- a/filter_inputs.php
+++ b/filter_inputs.php
@@ -110,7 +110,7 @@ if ($preset && isset($presets[$preset])) {
'--stylesheet' => FILTER_VALIDATE_URL,
// lanScan
'saveAs' => ['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => $fileNameRegex]],
- 'original' => FILTER_VALIDATE_URL,
+ 'originalURL' => FILTER_VALIDATE_URL,
'refreshPeriod' => ['filter' => FILTER_VALIDATE_INT, 'options' => ['min_range' => 0]],
'sudo' => FILTER_VALIDATE_BOOLEAN,
], false) ?: $presets["default"];
diff --git a/index.php b/index.php
index 940e513..0c2203a 100755
--- a/index.php
+++ b/index.php
@@ -593,8 +593,8 @@ foreach (scandir('templates') as $filename) {
-
-
-
+