includes/paths.php
changeset 351 8978cb3541ca
parent 345 4ccdfeee9a11
child 362 02d315d1cc58
equal deleted inserted replaced
349:fdaf9070566c 351:8978cb3541ca
   143       $this->pages[$r['urlname']] = $r;
   143       $this->pages[$r['urlname']] = $r;
   144       $this->pages[] =& $this->pages[$r['urlname']];
   144       $this->pages[] =& $this->pages[$r['urlname']];
   145       
   145       
   146     }
   146     }
   147     $db->free_result();
   147     $db->free_result();
   148     if ( defined('ENANO_INTERFACE_INDEX') || defined('ENANO_INTERFACE_AJAX') || defined('IN_ENANO_INSTALL') || defined('IN_ENANO_UPGRADE') )
   148     if ( defined('ENANO_INTERFACE_INDEX') || defined('ENANO_INTERFACE_AJAX') || defined('IN_ENANO_UPGRADE') )
   149     {
   149     {
   150       if( isset($_GET['title']) )
   150       if( isset($_GET['title']) )
   151       {
   151       {
   152         if ( $_GET['title'] == '' && getConfig('main_page') != '' )
   152         if ( $_GET['title'] == '' && getConfig('main_page') != '' )
   153         {
   153         {