Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpWebFileManager/index.php between version 1.42 and 1.43

version 1.42, 2003/02/15 11:16:38 version 1.43, 2003/05/14 14:03:52
Line 17 
Line 17 
  * 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'])

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top