We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP short tags were used. [Just found this dashboard and I think its great!!!)
Please find a patch to correct that diff --git a/content/settings.inc b/content/settings.inc index 6541ff2..67674df 100644 --- a/content/settings.inc +++ b/content/settings.inc @@ -1,4 +1,4 @@ -<? +<?php // Change the settings to reflex your configuration $dbUser = "ossec"; $dbPass = "xxxxxxxxxxxxxxxxxxx"; diff --git a/content/timeline.php b/content/timeline.php index 3d7f973..146e690 100644 --- a/content/timeline.php +++ b/content/timeline.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc"); $secPeriods = array("1800", "3600", "10800", "43200", "86400", "604800", "2592000", "31536000"); diff --git a/content/top10agents.php b/content/top10agents.php index 548334a..dd27262 100644 --- a/content/top10agents.php +++ b/content/top10agents.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200", diff --git a/content/top10alerts.php b/content/top10alerts.php index ac78589..10e0f6f 100644 --- a/content/top10alerts.php +++ b/content/top10alerts.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200", diff --git a/content/top10attackers.php b/content/top10attackers.php index 15e26c0..2e9a664 100644 --- a/content/top10attackers.php +++ b/content/top10attackers.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc"); $secPeriods = array("1800", "3600", "10800", "43200", "86400", "604800", "2592000", "31536000"); diff --git a/content/top10locations.php b/content/top10locations.php index 1788047..275976d 100644 --- a/content/top10locations.php +++ b/content/top10locations.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc"); include("geoipcity.inc"); include("geoipregionvars.php"); diff --git a/content/top10suspicious.php b/content/top10suspicious.php index 5a3658c..96e8213 100644 --- a/content/top10suspicious.php +++ b/content/top10suspicious.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200", diff --git a/content/trendlevel.php b/content/trendlevel.php index b9141af..d7a631b 100644 --- a/content/trendlevel.php +++ b/content/trendlevel.php @@ -1,4 +1,4 @@ -<? +<?php include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200", diff --git a/index.php b/index.php index eb66c67..0f6fee9 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PHP short tags were used. [Just found this dashboard and I think its great!!!)
Please find a patch to correct that
diff --git a/content/settings.inc b/content/settings.inc
index 6541ff2..67674df 100644
--- a/content/settings.inc
+++ b/content/settings.inc
@@ -1,4 +1,4 @@
-<?
+<?php
// Change the settings to reflex your configuration
$dbUser = "ossec";
$dbPass = "xxxxxxxxxxxxxxxxxxx";
diff --git a/content/timeline.php b/content/timeline.php
index 3d7f973..146e690 100644
--- a/content/timeline.php
+++ b/content/timeline.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
"86400", "604800", "2592000", "31536000");
diff --git a/content/top10agents.php b/content/top10agents.php
index 548334a..dd27262 100644
--- a/content/top10agents.php
+++ b/content/top10agents.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
diff --git a/content/top10alerts.php b/content/top10alerts.php
index ac78589..10e0f6f 100644
--- a/content/top10alerts.php
+++ b/content/top10alerts.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
diff --git a/content/top10attackers.php b/content/top10attackers.php
index 15e26c0..2e9a664 100644
--- a/content/top10attackers.php
+++ b/content/top10attackers.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
"86400", "604800", "2592000", "31536000");
diff --git a/content/top10locations.php b/content/top10locations.php
index 1788047..275976d 100644
--- a/content/top10locations.php
+++ b/content/top10locations.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
include("geoipcity.inc");
include("geoipregionvars.php");
diff --git a/content/top10suspicious.php b/content/top10suspicious.php
index 5a3658c..96e8213 100644
--- a/content/top10suspicious.php
+++ b/content/top10suspicious.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
diff --git a/content/trendlevel.php b/content/trendlevel.php
index b9141af..d7a631b 100644
--- a/content/trendlevel.php
+++ b/content/trendlevel.php
@@ -1,4 +1,4 @@
-<?
+<?php
include("settings.inc");
$secPeriods = array("1800", "3600", "10800", "43200",
-'; @@ -111,7 +111,7 @@ $(document).ready( function () { -diff --git a/index.php b/index.php
index eb66c67..0f6fee9 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
OSSEC Dashboard (Alpha)
-Top-1O Alerts - - @@ -227,7 +227,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Top-10 Suspicious - - @@ -237,7 +237,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Top-10 Agents - - @@ -245,7 +245,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Top-10 Locations - - @@ -255,7 +255,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Top-10 Attackers - - @@ -263,7 +263,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Events Timeline - - @@ -271,7 +271,7 @@ javascript_countdown.init(180, 'javascript_countdown_time'); Trend Level - -The text was updated successfully, but these errors were encountered: