Xataface 2.0
Xataface Application Framework
install/archive2app-results.inc.php
Go to the documentation of this file.
00001 <?php include 'install'.DIRECTORY_SEPARATOR.'install_header.inc.php';?>
00002                 <h1>Archive Installation Results</h1>
00003                 <div id="result"><?php echo $context['result'];?></div>
00004                 <div id="readout">
00005                 <?php foreach ($context['log'] as $line):?>
00006                         <?php echo $line;?><br />
00007                 <?php endforeach;?>
00008                 </div>
00009                 
00010                 <?php
00011                         if ( $_SERVER['DOCUMENT_ROOT'] == substr($_REQUEST['ftp_path'],0,strlen($_SERVER['DOCUMENT_ROOT']))){
00012                                 $urlpath = substr($_REQUEST['ftp_path'], strlen($_SERVER['DOCUMENT_ROOT']));
00013                                 $url = $_SERVER['HTTP_HOST'];
00014                                 if ( $_SERVER['HTTPS'] == 'on' ) $protocol = 'https';
00015                                 else $protocol = 'http';
00016                                 
00017                                 $url = $protocol.$url.$urlpath;
00018                         }
00019                 ?>
00020                 
00021                 <?php if ( $url ):?>
00022                         <p>Access your application <a href="<?php echo $url;?>">Here</a></p>
00023                 <?php endif;?>
00024                 <p><a href="installer.php">Return to main menu</a></p>
00025                 
00026                 
00027 <?php include 'install'.DIRECTORY_SEPARATOR.'install_footer.inc.php';?>
 All Data Structures Namespaces Files Functions Variables Enumerations