| version 1.42, 2003/02/15 11:16:38 |
version 1.43, 2003/05/14 14:03:52 |
|
|
| * http://www.platon.sk/projects/phpWebFileManager/ |
* http://www.platon.sk/projects/phpWebFileManager/ |
| */ |
*/ |
| |
|
| /* $Platon: phpWebFileManager/index.php,v 1.41 2003/02/13 23:27:46 nepto Exp $ */ |
/* $Platon: phpWebFileManager/index.php,v 1.42 2003/02/15 11:16:38 nepto Exp $ */ |
| |
|
| /* |
/* |
| * phpWebFileManager initialization |
* phpWebFileManager initialization |
| Line 570 function fm_main() /* {{{ */ |
|
| Line 570 function fm_main() /* {{{ */ |
|
| if (strlen($fm_cfg['url']['root']) > 0 && $fm_cfg['url']['root']{0} == '/') { |
if (strlen($fm_cfg['url']['root']) > 0 && $fm_cfg['url']['root']{0} == '/') { |
| $view_url_prefix_ue = rawurlencode($fm_cfg['url']['root']).$fm_dir_ue; |
$view_url_prefix_ue = rawurlencode($fm_cfg['url']['root']).$fm_dir_ue; |
| } else { |
} else { |
| $view_url = parse_url('http://'.$HTTP_SERVER_VARS['HTTP_HOST'] |
$view_url = parse_url((strcasecmp($HTTP_SERVER_VARS, 'on') ? 'http' : 'https') |
| .$HTTP_SERVER_VARS['REQUEST_URI']); |
.'://'.$HTTP_SERVER_VARS['HTTP_HOST'].$HTTP_SERVER_VARS['REQUEST_URI']); |
| $view_url['path'] = fm_get_path_without_scriptname($view_url) |
$view_url['path'] = fm_get_path_without_scriptname($view_url) |
| . rawurlencode(strlen($fm_cfg['url']['root']) > 0 |
. rawurlencode(strlen($fm_cfg['url']['root']) > 0 |
| ? $fm_cfg['url']['root'] : $fm_cfg['dir']['root']) |
? $fm_cfg['url']['root'] : $fm_cfg['dir']['root']) |