Location: PHPKode > projects > Wexplorer > weXplorer/index.php
<?php

/*
 * Created on 21 oct. 2005
 *
 */
require_once('session.php');
require_once('config.inc.php');
 
if (isset($_GET['path']))
	$path = "?path=".$_GET['path'];

$handle = fopen ("frameset.php", "r");
while (!feof($handle)) {
    $buffer = fgets($handle, 4096);
    $buffer = str_replace ( 
    	array(
				'{header}',
				'{tree}',
				'{folder}'
    		 ),
    	array(
    			ROOT_URL.'/header.php',
    			ROOT_URL.'/weXplorer_treeview.php'.$path,
    			''
    		 ), 
    	$buffer
    	);    
    echo $buffer;
}
fclose ($handle); 


?>  


Return current item: Wexplorer