Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 29. marec 2024

Rozdiely pre Metafox/rewrite.php medzi verziami 1.2 a 1.3

verzia 1.2, 2012/05/17 08:57:16 verzia 1.3, 2012/05/23 17:50:32
Riadok 196  if (strlen($link) > 0
Riadok 196  if (strlen($link) > 0
                         && strlen($args[0]) > 0)                          && strlen($args[0]) > 0)
                 {                  {
                         require_once 'cfgldr.inc.php';                          require_once 'cfgldr.inc.php';
                         $ezin_cgi['query_string'][] = $args[0];                          $ar = ezin_validate_IDs(array('article_id' => $args[0]));
                         $ezin_cgi['input'] = 'section';                          if (intval($ar['article_id']) > 0) {
                                   $ezin_cgi['query_string'] = $args;
                                   $ezin_cgi['input'] = 'article';
                           } else {
                                   $ezin_cgi['query_string'] = $args;
                                   $ezin_cgi['input'] = 'section';
                           }
                         require_once 'index.php';                          require_once 'index.php';
                 }                  }
   
Riadok 209  if (strlen($link) > 0
Riadok 215  if (strlen($link) > 0
   
                         $showed = false;                          $showed = false;
                         if (ezin_get_rewrite_key($args[0]) == 'author') {                          if (ezin_get_rewrite_key($args[0]) == 'author') {
                                 $ezin_cgi['query_string'][] = $args[1];                                  array_shift($args);
                                   $ezin_cgi['query_string'] = $args;
                                 $ezin_cgi['input'] = 'author';                                  $ezin_cgi['input'] = 'author';
                                 $showed = true;                                  $showed = true;
                         }                          }
                         if (ezin_get_rewrite_key($args[0]) == 'print') {                          if (ezin_get_rewrite_key($args[0]) == 'print') {
                                 $ezin_cgi['query_string'][] = $args[1];                                  array_shift($args);
                                   $ezin_cgi['query_string'] = $args;
                                 $ezin_cgi['input'] = 'print';                                  $ezin_cgi['input'] = 'print';
                                 $showed = true;                                  $showed = true;
                         }                          }
                         if (!$showed) {                          if (!$showed) {
                                 $ezin_cgi['query_string'][] = $args[1];                                  array_shift($args);
                                   $ezin_cgi['query_string'] = $args;
                                 $ezin_cgi['input'] = 'article';                                  $ezin_cgi['input'] = 'article';
                         }                          }
   

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

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