Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, November 13, 2026

Diff for Metafox/subst.inc.php between version 1.61 and 1.62

version 1.61, 2014/05/06 13:49:55 version 1.62, 2014/10/14 11:49:01
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.60 2013-09-03 15:34:47 igor Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.61 2014-05-06 13:49:55 igor Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 135  if (strlen($ezin_cfg['http_host_redirect
Line 135  if (strlen($ezin_cfg['http_host_redirect
                                 if (! isset($ezin_redirect_ar['path'])) {                                  if (! isset($ezin_redirect_ar['path'])) {
                                         $ezin_redirect_ar['path'] = '/';                                          $ezin_redirect_ar['path'] = '/';
                                 }                                  }
                                 $ezin_redirect_ar['path'] .= Platon::str_replace_prefix(                                  $append_path = Platon::str_replace_prefix(
                                                 Platon::append_slash($ezin_cfg['url']), '', $_SERVER['REQUEST_URI']);                                                  Platon::append_slash($ezin_cfg['url']), '', $_SERVER['REQUEST_URI']);
                                   $ezin_redirect_ar['path'] .= ($append_path == '/' && substr($ezin_redirect_ar['path'], -1) == '/')
                                           ? ''
                                           : $append_path;
                                 Platon::redirect(Platon::glue_url($ezin_redirect_ar));                                  Platon::redirect(Platon::glue_url($ezin_redirect_ar));
                         }                          }
                 }                  }

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

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