Update distros for Photon
Signed-off-by: droy <denis.roy@eclipse-foundation.org>
diff --git a/content/en_download.php b/content/en_download.php
index 60a567b..bcd5aa9 100644
--- a/content/en_download.php
+++ b/content/en_download.php
@@ -36,7 +36,7 @@
);
# Load up distros program if file selected is a Oxygen/SDK package
-$packageName = getPackageFromFilename($_file, "oxygen");
+$packageName = getPackageFromFilename($_file, "photon");
$osName = getOsFromFilename($_file);
$companies = array();
diff --git a/distros/distros.php b/distros/distros.php
index e490542..5b83a39 100644
--- a/distros/distros.php
+++ b/distros/distros.php
@@ -42,7 +42,7 @@
$IBM = new companyInfo (
"IBM",
"bluemix-icon-64x.png",
- "4.7.3a",
+ "4.7.4",
"jee,committers,java,cpp,php,installer,javascript",
"Blazingly fast downloads hosted by IBM Bluemix.",
"http://eclipse.org/go/DISTRO_IBM",
@@ -51,7 +51,7 @@
$OBEO = new companyInfo(
"Obeo",
"obeo.png",
- "4.7.3a",
+ "4.7.4",
"modeling, jee, java, installer",
"Download the latest Eclipse easily and discover how to create your OWN modeling solutions.",
"http://eclipse.org/go/DISTROS_OBEO",
@@ -92,7 +92,7 @@
$rValue = array();
global $companyinfo;
foreach ($companyinfo as $company) {
- if(strpos($company->projects, $_package) !== false && $company->version == "4.7.3a") {
+ if(strpos($company->projects, $_package) !== false && $company->version == "4.7.4") {
$rValue[] = $company;
}
}
diff --git a/download.php b/download.php
index 3885f65..c97411a 100755
--- a/download.php
+++ b/download.php
@@ -642,10 +642,10 @@
# /eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-solaris-gtk.zip
# technology/epp/downloads/release/kepler/R/eclipse-reporting-kepler-
- if(preg_match(",^/technology/epp/downloads/release/($trainname)/3a/eclipse-($packageList)-($trainname),", $filename, $matches)) {
+ if(preg_match(",^/technology/epp/downloads/release/($trainname)/R/eclipse-($packageList)-($trainname),", $filename, $matches)) {
$rValue = $matches[2];
}
- elseif(preg_match(",^/oomph/epp/oxygen/R2/eclipse-inst-,", $filename)) {
+ elseif(preg_match(",^/oomph/epp/photon/R/eclipse-inst-,", $filename)) {
$rValue = "installer";
}
return $rValue;