version 1.1.1.1, 2007/11/02 20:55:00
|
version 1.1.1.1.2.2, 2007/11/15 15:40:50
|
Line 1
|
Line 1
|
<?php |
<?php |
|
# $Paefchen$ |
|
|
# Configurable options |
# Configurable options |
$tinderbox_name = 'Example Tinderbox'; | define('TB_NAME', 'Example Tinderbox'); |
$tinderbox_title = 'Example Tinderbox'; | define('TB_TITLE', 'Example Tinderbox'); |
$rootdir = '/space'; | define('WWWROOT', dirname(__FILE__)); |
$wwwrooturi = '/tb'; | define('TBROOT', realpath(WWWROOT.'/../..'); |
$template_dir = 'default'; | 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 |
# These should probably be left alone |
$pkguri = '/packages'; | define('URL', PROTOCOL.'://'.HOSTNAME.(PORT!=80?':80':'').URLROOT); |
$pkgdir = $rootdir.'/packages'; | |
$loguri = '/logs'; | define('PKGURL', URL.'/packages'); |
$logdir = $rootdir.'/logs'; | define('PKGDIR', TBROOT.'/packages'); |
$errorloguri = '/errors'; | define('LOGURL', URL.'/logs'); |
$errorlogdir = $rootdir.'/errors'; | define('LOGDIR', TBROOT.'/logs'); |
$templatesdir = $rootdir.'/scripts/webui/templates/'.$template_dir; | define('ERRORLOGURL', URL.'/errors'); |
$templatesuri = $wwwrooturi.'/templates/'.$template_dir; | define('ERRORLOGDIR', TBROOT.'/errors'); |
#$with_timer = 1; | define('TEMPLATESURL', URL.'/templates/'.TEMPLATE); |
| define('TEMPLATESDIR', WWWROOT.'/templates/'.TEMPLATE); |
| |
| define('SHOWTIMER', true); |
|
|
?> |
?> |