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

Diff for Metafox/config/Attic/loader.inc.php between version 1.3 and 1.4

version 1.3, 2005/08/13 23:06:31 version 1.4, 2005/10/02 17:37:42
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/config/loader.inc.php,v 1.2 2005/06/10 15:56:52 nepto Exp $ */  /* $Platon: Metafox/config/loader.inc.php,v 1.3 2005/08/13 23:06:31 nepto Exp $ */
   
 /*  /*
  * WARNING! Do not edit this file! Edit db-config.inc.php file in this directory!   * WARNING! Do not edit this file! Edit db-config.inc.php file in this directory!
Line 314  if (strlen($ezin_cfg['http_host_redirect
Line 314  if (strlen($ezin_cfg['http_host_redirect
         }          }
 }  }
   
 /* OLD CODE - DELETE ME IN SPRING 2005  
   
 @list($ezin_redirect_host, $ezin_redirect_path) = @explode('/', $ezin_cfg['http_host_redirect'], 2);  
 $ezin_http_host = strtolower($_SERVER['HTTP_HOST']);  
 if (strlen($ezin_redirect_host) > 0 && strlen($ezin_http_host) > 0  
                 && strcasecmp($ezin_redirect_host, $ezin_http_host)) {  
         $ezin_http_host_allowed_ar   = preg_split('|\s+|', $ezin_cfg['http_host_allowed']);  
         $ezin_http_host_forbidden_ar = preg_split('|\s+|', $ezin_cfg['http_host_forbidden']);  
         if (count($ezin_http_host_forbidden_ar) <= 0  
                         || in_array($ezin_http_host, $ezin_http_host_forbidden_ar)) {  
                 if (! in_array(strtolower($_SERVER['HTTP_HOST']), $ezin_http_host_allowed_ar)) {  
                         $url  = strcasecmp($_SERVER['HTTPS'], 'on') ? 'http' : 'https';  
                         $url .= '://'.$ezin_redirect_host.'/'.$ezin_redirect_path;  
                         $url .= Platon::str_replace_prefix(  
                                         Platon::append_slash($ezin_cfg['url']), '', $_SERVER['REQUEST_URI']);  
                         echo "redirect to: $url";  
                         //Platon::redirect($url);  
                 }  
         }  
 }  
 */  
   
 /*  /*
  * Redirect test   * Redirect test
  */   */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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