Return HTTP 500 on configuration error
[gitphp.git] / include / controller / Controller_Message.class.php
blob:a/include/controller/Controller_Message.class.php -> blob:b/include/controller/Controller_Message.class.php
--- a/include/controller/Controller_Message.class.php
+++ b/include/controller/Controller_Message.class.php
@@ -137,6 +137,8 @@
 	private function StatusCodeHeader($code)
 	{
 		switch ($code) {
+			case 500:
+				return '500 Internal Server Error';
 		}
 	}
 

comments