Annotation of FreeBSD/tinderbox/webui/inc_tinderbox.php.dist, revision 1.1.1.1.2.1
1.1 as 1: <?php
1.1.1.1.2.1! as 2: # $Paefchern$
1.1 as 3:
4: # Configurable options
1.1.1.1.2.1! as 5: define('TB_NAME', 'Example Tinderbox');
! 6: define('TB_TITLE', 'Example Tinderbox');
! 7: define('WWWROOT', dirname(__FILE__));
! 8: define('TBROOT', realpath(WWWROOT.'/../..');
! 9: define('URLROOT', dirname($_SERVER['SCRIPT_NAME']));
! 10: define('TEMPLATE', 'default');
! 11:
! 12: define('PROTOCOL', isset($_SERVER['HTTPS'])?'https':'http');
! 13: define('HOSTNAME', $_SERVER['SERVER_NAME']);
! 14: define('PORT', $_SERVER['SERVER_PORT']);
1.1 as 15:
16: # These should probably be left alone
1.1.1.1.2.1! as 17: define('URL', PROTOCOL.'://'.HOSTNAME.(PORT!=80?':80':'').URLROOT);
! 18:
! 19: define('PKGURL', URL.'/packages');
! 20: define('PKGDIR', TBROOT.'/packages');
! 21: define('LOGURL', URL.'/logs');
! 22: define('LOGDIR', TBROOT.'/logs');
! 23: define('ERRORLOGURL', URL.'/errors');
! 24: define('ERRORLOGDIR', TBROOT.'/errors');
! 25: define('TEMPLATESURL', URL.'/templates/'.TEMPLATE);
! 26: define('TEMPLATESDIR', WWWROOT.'/templates/'.TEMPLATE);
! 27:
! 28: define('SHOWTIMER', true);
1.1 as 29:
30: ?>