Diff for Metafox/functions.inc.php between version 1.96 and 1.97
| version 1.96, 2012/05/15 17:47:56 |
version 1.97, 2012/05/22 16:29:02 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.95 2012-05-14 14:53:43 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.96 2012-05-15 17:47:56 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2140 function ezin_redirect_article($article_ |
|
| Line 2140 function ezin_redirect_article($article_ |
|
| break; |
break; |
| case 2: |
case 2: |
| $ar = ezin_validate_IDs(array('article_id' => $article_id)); |
$ar = ezin_validate_IDs(array('article_id' => $article_id)); |
| $redirect = $ezin_cfg['url'].$ar['section_access_key'].'/'.$article_id; |
$section_key = strlen($ar['section_access_key']) > 0 ? $ar['section_access_key'] : $ar['section_id']; |
| |
$redirect = $ezin_cfg['url'].$section_key.'/'.$article_id; |
| break; |
break; |
| } |
} |
| ezin_redirect_special($redirect); |
ezin_redirect_special($redirect); |
Platon Group <platon@platon.org> http://platon.org/
|
|