<?php
# $Paefchern$
# 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);
?>