Diff for Metafox/rewrite.php between version 1.8 and 1.9
| version 1.8, 2012/10/10 18:28:51 |
version 1.9, 2012/10/10 18:54:38 |
| Line 303 if (strlen($link) > 0 |
|
| Line 303 if (strlen($link) > 0 |
|
| $showed = true; |
$showed = true; |
| } |
} |
| if (!$showed) { |
if (!$showed) { |
| array_shift($args); |
$section_id = array_shift($args); |
| if ($ezin_cfg['redirect_equal_url'] == 1) { |
if ($ezin_cfg['redirect_equal_url'] == 1) { |
| // redirect for old access-key |
// redirect for old access-key |
| $ar = ezin_validate_IDs(array('article_id' => $args[0])); |
if ($section_id == $args[0]) { |
| |
$ar = ezin_validate_IDs(array('section_id' => $args[0])); |
| |
$ar['redirect'] = true; |
| |
} else { |
| |
$ar = ezin_validate_IDs(array('article_id' => $args[0])); |
| |
} |
| if (isset($ar['redirect']) |
if (isset($ar['redirect']) |
| && $ar['redirect']) |
&& $ar['redirect']) |
| { |
{ |
Platon Group <platon@platon.org> http://platon.org/
|
|