Diff for /FreeBSD/tinderbox2/webui/inc_tinderbox.php.dist between versions 1.1 and 1.3

version 1.1, 2007/10/20 17:07:42 version 1.3, 2007/10/20 17:58:26
Line 1 Line 1
 <?php  <?php
   # $Paefchen: FreeBSD/tinderbox2/webui/inc_tinderbox.php.dist,v 1.2 2007/10/20 17:33:35 as Exp $
   
 # Configurable options  # Configurable options
 $tinderbox_name  = 'Example Tinderbox';  $tinderbox_name  = 'Example Tinderbox';
 $tinderbox_title = 'Example Tinderbox';  $tinderbox_title = 'Example Tinderbox';
$rootdir         = '/space';$wwwrootdir      = dirname( __FILE__ );
$wwwrooturi      = '/tb';$rootdir         = realpath( $wwwrootdir . '/../..' );
 $protocol        = isset( $_SERVER['HTTPS'] ) ? 'https' : 'http';
 $host            = $_SERVER['SERVER_NAME'];
 $path            = pathinfo( $_SERVER['REQUEST_URI'] );
 $path            = $path['basename'];
 if (! empty($path))
         $path    = '/'.$path;
 $wwwrooturi      = $protocol . '://' . $host;
 if ($_SERVER['SERVER_PORT'] != 80)
         $wwwrooturi     .= ':' . $_SERVER['SERVER_PORT'];
 $wwwrooturi     .= $path;
 $template_dir    = 'default';  $template_dir    = 'default';
   
 # These should probably be left alone  # These should probably be left alone
$pkguri          = '/packages';$pkguri          = $wwwrooturi.'/packages';
 $pkgdir          = $rootdir.'/packages';  $pkgdir          = $rootdir.'/packages';
$loguri          = '/logs';$loguri          = $wwwrooturi.'/logs';
 $logdir          = $rootdir.'/logs';  $logdir          = $rootdir.'/logs';
$errorloguri     = '/errors';$errorloguri     = $wwwrooturi.'/errors';
 $errorlogdir     = $rootdir.'/errors';  $errorlogdir     = $rootdir.'/errors';
$templatesdir    = $rootdir.'/scripts/webui/templates/'.$template_dir;$templatesdir    = $wwwrootdir.'/templates/'.$template_dir;
 $templatesuri    = $wwwrooturi.'/templates/'.$template_dir;  $templatesuri    = $wwwrooturi.'/templates/'.$template_dir;
 #$with_timer     = 1;  #$with_timer     = 1;
   

Removed from v.1.1  
changed lines
  Added in v.1.3