Diff for phpWebFileManager/index.php between version 1.47 and 1.48
| version 1.47, 2004/04/06 16:49:54 |
version 1.48, 2004/12/12 21:53:58 |
|
|
| * http://platon.sk/projects/phpWebFileManager/ |
* http://platon.sk/projects/phpWebFileManager/ |
| */ |
*/ |
| |
|
| /* $Platon: phpWebFileManager/index.php,v 1.46 2003/12/20 18:44:15 nepto Exp $ */ |
/* $Platon: phpWebFileManager/index.php,v 1.47 2004/04/06 16:49:54 nepto Exp $ */ |
| |
|
| /* |
/* |
| * phpWebFileManager initialization |
* phpWebFileManager initialization |
| Line 571 function fm_main() /* {{{ */ |
|
| Line 571 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 = $fm_cfg['url']['root'].$fm_dir_ue; |
$view_url_prefix_ue = $fm_cfg['url']['root'].$fm_dir_ue; |
| } else { |
} else { |
| $view_url = parse_url((strcasecmp($HTTP_SERVER_VARS, 'on') ? 'http' : 'https') |
$view_url = parse_url((strcasecmp($HTTP_SERVER_VARS['HTTPS'], 'on') ? 'http' : 'https') |
| .'://'.$HTTP_SERVER_VARS['HTTP_HOST'].$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) |
| . (strlen($fm_cfg['url']['root']) > 0 ? $fm_cfg['url']['root'] : $fm_cfg['dir']['root']) |
. (strlen($fm_cfg['url']['root']) > 0 ? $fm_cfg['url']['root'] : $fm_cfg['dir']['root']) |
Platon Group <platon@platon.org> http://platon.org/
|
|