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

Diff for Metafox/subst.inc.php between version 1.51 and 1.52

version 1.51, 2012/05/14 14:53:43 version 1.52, 2012/09/28 16:23:20
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.50 2012-05-02 12:58:15 igor Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.51 2012-05-14 14:53:43 igor Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 200  if (strlen($_REQUEST['ezin_template_key'
Line 200  if (strlen($_REQUEST['ezin_template_key'
         //$ezin_db_author['author_template_key']   = $_REQUEST['ezin_template_key'];          //$ezin_db_author['author_template_key']   = $_REQUEST['ezin_template_key'];
 }  }
   
   if ($ezin_cgi['output'] == 'notfound'
           || ezin_exist_access_key_redirect($ezin_cgi['notfound_id'], $access_key_redirect['type']))
   {
           $access_key_redirect = ezin_get_access_key_redirect($ezin_cgi['notfound_id'], $ezin_cgi['input']);
           if ($access_key_redirect == false) {
                   foreach(array('section','article','author','print') as $type) {
                           $access_key_redirect = ezin_get_access_key_redirect($ezin_cgi['notfound_id'], $type);
                           if ($access_key_redirect !== false) {
                                   break;
                           }
                   }
           }
           switch($access_key_redirect['type']) {
                   case 'section':
                           ezin_redirect_section($access_key_redirect['id']);
                           break;
                   case 'article':
                           ezin_redirect_article($access_key_redirect['id']);
                           break;
                   case 'author':
                           ezin_redirect_author($access_key_redirect['id']);
                           break;
                   case 'print':
                           ezin_redirect_print($access_key_redirect['id']);
                           break;
           }
   }
   
   
 switch ($ezin_cgi['output']) { /* {{{ */  switch ($ezin_cgi['output']) { /* {{{ */
         default:          default:
                 die('input method fatal error: '.$ezin_cgi['output']);                  die('input method fatal error: '.$ezin_cgi['output']);

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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