Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre Metafox/config/Attic/loader.inc.php medzi verziami 1.3 a 1.4

verzia 1.3, 2005/08/13 23:06:31 verzia 1.4, 2005/10/02 17:37:42
Riadok 17 
Riadok 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!
Riadok 314  if (strlen($ezin_cfg['http_host_redirect
Riadok 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:
Odstranené z verzie1.3  
zmenené riadky
  Pridané vo verzii1.4

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok