Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
archive2app-results.inc.php
Go to the documentation of this file.
1 <?php include 'install'.DIRECTORY_SEPARATOR.'install_header.inc.php';?>
2  <h1>Archive Installation Results</h1>
3  <div id="result"><?php echo $context['result'];?></div>
4  <div id="readout">
5  <?php foreach ($context['log'] as $line):?>
6  <?php echo $line;?><br />
7  <?php endforeach;?>
8  </div>
9 
10  <?php
11  if ( $_SERVER['DOCUMENT_ROOT'] == substr($_REQUEST['ftp_path'],0,strlen($_SERVER['DOCUMENT_ROOT']))){
12  $urlpath = substr($_REQUEST['ftp_path'], strlen($_SERVER['DOCUMENT_ROOT']));
13  $url = $_SERVER['HTTP_HOST'];
14  if ( $_SERVER['HTTPS'] == 'on' ) $protocol = 'https';
15  else $protocol = 'http';
16 
17  $url = $protocol.$url.$urlpath;
18  }
19  ?>
20 
21  <?php if ( $url ):?>
22  <p>Access your application <a href="<?php echo $url;?>">Here</a></p>
23  <?php endif;?>
24  <p><a href="installer.php">Return to main menu</a></p>
25 
26 
27 <?php include 'install'.DIRECTORY_SEPARATOR.'install_footer.inc.php';?>