Index: /trunk/website/scripts/BuildServer.php
===================================================================
--- /trunk/website/scripts/BuildServer.php	(revision 2387)
+++ /trunk/website/scripts/BuildServer.php	(revision 2388)
@@ -55,8 +55,9 @@
 	http_digest_challenge();
 
-require('Build.php');
-require('BuildUtil.php');
-require('Credentials.php');
-require('Database.php');
+require_once('Build.php');
+require_once('BuildUtil.php');
+require_once('BuildBranch.php');
+require_once('Credentials.php');
+require_once('Database.php');
 
 try
@@ -70,5 +71,4 @@
 
 	//Get the branch the notification is for
-	define('HTTP_WEB_ROOT', 'http://eraser.sourceforge.net');
 	$branch = $branches[$_GET['branch']];
 
Index: /trunk/website/scripts/BuildBranch.php
===================================================================
--- /trunk/website/scripts/BuildBranch.php	(revision 2388)
+++ /trunk/website/scripts/BuildBranch.php	(revision 2388)
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Represents a branch of all builds.
+ */
+class BuildBranch
+{
+	private $ID;
+	private $Title;
+	private $Version;
+
+	private function __construct($branchId, $title, $version)
+	{
+		$this->ID = $branchId;
+		$this->Title = $title;
+		$this->Version = $version;
+	}
+
+	/**
+	 * Gets the branches that are currently maintained.
+	 *
+	 * @return array The list of branches that are currently maintained.
+	 */
+	public static function Get()
+	{
+		return array(
+			'Eraser6' => new BuildBranch('Eraser6', 'Eraser 6.0', '6.0.8'),
+			'Eraser6.2' => new BuildBranch('Eraser6.2', 'Eraser 6.2', '6.1.0')
+		);
+	}
+
+	public function __get($name)
+	{
+		return $this->$name;
+	}
+}
+?>
Index: /trunk/website/scripts/Build.php
===================================================================
--- /trunk/website/scripts/Build.php	(revision 2387)
+++ /trunk/website/scripts/Build.php	(revision 2388)
@@ -144,38 +144,3 @@
 	}
 }
-
-/**
- * Represents a branch of all builds.
- */
-class BuildBranch
-{
-	private $ID;
-	private $Title;
-	private $Version;
-
-	private function __construct($branchId, $title, $version)
-	{
-		$this->ID = $branchId;
-		$this->Title = $title;
-		$this->Version = $version;
-	}
-
-	/**
-	 * Gets the branches that are currently maintained.
-	 *
-	 * @return array The list of branches that are currently maintained.
-	 */
-	public static function Get()
-	{
-		return array(
-			'Eraser6' => new BuildBranch('Eraser6', 'Eraser 6.0', '6.0.8'),
-			'Eraser6.2' => new BuildBranch('Eraser6.2', 'Eraser 6.2', '6.1.0')
-		);
-	}
-
-	public function __get($name)
-	{
-		return $this->$name;
-	}
-}
 ?>
