Bug 562908 - Populate the JustJ Git clones with initial content
Fix title for general browser.
diff --git a/.index.php b/.index.php
index 6d97f89..bd28a73 100644
--- a/.index.php
+++ b/.index.php
@@ -10,6 +10,7 @@
exit;
}
$prefix = "www$test/";
+$pageTitle = "Downloads";
$serverName = $_SERVER['SERVER_NAME'];
$baseURL = "//$serverName/justj/?file=";
include("www$test/download.eclipse.org.php");
diff --git a/download.eclipse.org.php b/download.eclipse.org.php
index c88e080..c330b40 100644
--- a/download.eclipse.org.php
+++ b/download.eclipse.org.php
@@ -35,7 +35,9 @@
$Breadcrumb->addCrumb("Download", "index.php?page=download", "_self");
}
-$pageTitle = "JustJ Downloads";
+if ($pageTitle == "") {
+ $pageTitle = "JustJ Downloads";
+}
$pageAuthor = 'Ed Merks';
$pageKeywords = 'justj,jdk,jre';