diff --git a/includes/versioncheck.inc.php b/includes/versioncheck.inc.php new file mode 100644 index 0000000000..5a9ea8393e --- /dev/null +++ b/includes/versioncheck.inc.php @@ -0,0 +1,62 @@ + rrd/version.txt "); + + } else { + + if($cur != $data) { + echo("Current Version : $cur_omnipotence.$cur_year.$cur_month.$cur_revision \n"); + + if($omnipotence > $cur_omnipotence) { + echo("New version : $omnipotence.$year.$month.$revision\n"); + } elseif ($year > $cur_year) { + echo("New version : $omnipotence.$year.$month.$revision\n"); + } elseif ($month > $cur_month) { + echo("New version : $omnipotence.$year.$month.$revision\n"); + } elseif ($revision > $cur_revision) { + echo("New release : $omnipotence.$year.$month.$revision\n"); + } + } + } + } + fclose($dataHandle); +} + +?>