1. Josh Carrier
  2. phpHgAdmin

Source

phpHgAdmin / admin / application / libraries / phphg_Controller.php

The default branch has multiple heads

<?php
class phphg_Controller extends Controller {

	function phphg_Controller() {
		parent :: Controller();
		
		$this->load->vars(array('title'=>HGPHP_NAME, 'theme_name'=>'paper','stylesheet_url'=>base_url().'themes/paper/style.css'));
	}
}

class Public_Controller extends phphg_Controller {

	function Public_Controller() {
		parent :: phphg_Controller();
		
		
	}
}

class Private_Controller extends phphg_Controller {

	function Private_Controller() {
		parent :: phphg_Controller();
		
		if($_SERVER['SERVER_NAME'] == 'localhost')
		{return; /* AUTH DISABLED */}
		
		if(isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_PW'] 
			&& !$this->mantis_auth->trustExternal($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']))
		{
			$CI = &get_instance();
			$CI->load->helper('url');
			redirect('/login');
		}
	}
}