| <?php |
| |
| $PR = "modeling/gmt"; |
| |
| $isBuildServer = (preg_match("/^(emft|modeling|build)\.eclipse\.org$/", $_SERVER["SERVER_NAME"])); |
| $isBuildDotEclipseServer = $_SERVER["SERVER_NAME"] == "build.eclipse.org"; |
| $isWWWserver = (preg_match("/^(?:www.|)eclipse.org$/", $_SERVER["SERVER_NAME"])); |
| $isEclipseCluster = (preg_match("/^(?:www.||download.|download1.|build.)eclipse.org$/", $_SERVER["SERVER_NAME"])); |
| $writableBuildRoot = $isBuildDotEclipseServer ? "/opt/public/modeling" : "/home/www-data"; |
| |
| include_once $_SERVER["DOCUMENT_ROOT"] . "/modeling/includes/scripts.php"; |
| |
| $Nav->addNavSeparator("Project Home", "/gmt/"); |
| addGoogleAnalyticsTrackingCodeToHeader(); |
| $App->Promotion = TRUE; # set true to enable current eclipse.org site-wide promo |
| ?> |