blob: 59d719aa25f671608704867c4c46aca50e7f88a1 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2017 Eclipse Foundation and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
header("Content-Type: text/plain");
require_once dirname(__FILE__) . '/../legal.inc';
require_once dirname(__FILE__) . '/../../classes/License.class.inc';
require_once dirname(__FILE__) . '/../../classes/common.php';
require_once dirname(__FILE__) . '/../../classes/debug.php';
if (!$width = (int)@$_GET['width']) $width = 80;
$licenses = License::parseLicenses(@$_GET['id']);
echo getDefaultFileHeader($licenses, $width);