Get rid of config singleton
[gitphp.git] / index.php
blob:a/index.php -> blob:b/index.php
--- a/index.php
+++ b/index.php
@@ -44,11 +44,6 @@
 
 try {
 
-	/*
-	 * Configuration
-	 */
-	GitPHP_Config::GetInstance()->LoadConfig(GITPHP_CONFIGDIR . 'gitphp.conf.php');
-
 	$controller = GitPHP_Controller::GetController((isset($_GET['a']) ? $_GET['a'] : null));
 	if ($controller) {
 		$controller->RenderHeaders();
@@ -72,8 +67,6 @@
 
 }
 
-GitPHP_Config::DestroyInstance();
-
 if (isset($controller)) {
 	$log = $controller->GetLog();
 	if ($log && $log->GetEnabled()) {

comments