File:  [Paefchen] / FreeBSD / tinderbox / webui / inc_tinderbox.php.dist
Revision 1.1.1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Thu Nov 15 15:40:50 2007 UTC (17 years ago) by as
Branches: CH2PHP5
Diff to: branchpoint 1.1.1.1: preferred, unified
Fix CVS-Header

<?php
# $Paefchen: FreeBSD/tinderbox/webui/inc_tinderbox.php.dist,v 1.1.1.1.2.2 2007/11/15 15:40:50 as Exp $

# Configurable options
define('TB_NAME',		'Example Tinderbox');
define('TB_TITLE',		'Example Tinderbox');
define('WWWROOT', 		dirname(__FILE__));
define('TBROOT',		realpath(WWWROOT.'/../..');
define('URLROOT',		dirname($_SERVER['SCRIPT_NAME']));
define('TEMPLATE',		'default');

define('PROTOCOL',		isset($_SERVER['HTTPS'])?'https':'http');
define('HOSTNAME',		$_SERVER['SERVER_NAME']);
define('PORT',			$_SERVER['SERVER_PORT']);

# These should probably be left alone
define('URL',			PROTOCOL.'://'.HOSTNAME.(PORT!=80?':80':'').URLROOT);

define('PKGURL',		URL.'/packages');
define('PKGDIR',		TBROOT.'/packages');
define('LOGURL',		URL.'/logs');
define('LOGDIR',		TBROOT.'/logs');
define('ERRORLOGURL',	URL.'/errors');
define('ERRORLOGDIR',	TBROOT.'/errors');
define('TEMPLATESURL',	URL.'/templates/'.TEMPLATE);
define('TEMPLATESDIR',	WWWROOT.'/templates/'.TEMPLATE);

define('SHOWTIMER',		true);

?>