src/login_github.php
protected static function get_config() {
	$config_file = \alsvanzelf\fem\ROOT_DIR.'config/github.ini';
	if (file_exists($config_file) == false) {
		$exception = bootstrap::get_library('exception');
		throw new $exception('no github application config found');
	}
	
	return parse_ini_file($config_file);
}
protected static function get_config() {
	$config_file = \alsvanzelf\fem\ROOT_DIR.'config/github.ini';
	if (file_exists($config_file) == false) {
		$exception = bootstrap::get_library('exception');
		throw new $exception('no github application config found');
	}
	
	return parse_ini_file($config_file);
}
protected static function get_config ( ) { $ config_file = \ alsvanzelf \ fem \ ROOT_DIR . 'config/github.ini' ; if ( file_exists ( $ config_file ) == false ) { $ exception = bootstrap :: get_library ( 'exception' ) ; throw new $ exception ( 'no github application config found' ) ; } return parse_ini_file ( $ config_file ) ; }
collects a config containing the github app codes from a ini file

@return array with 'client_id', 'client_secret', 'callback_url' values
collects a config containing the github app codes from a ini file