includes/paths.php
changeset 1123 777f32ac6b7c
parent 1121 bf5adc446018
child 1154 87cd48776632
equal deleted inserted replaced
1122:e1606c85e937 1123:777f32ac6b7c
   133     if ( defined('ENANO_INTERFACE_INDEX') || defined('ENANO_INTERFACE_AJAX') || defined('IN_ENANO_UPGRADE') )
   133     if ( defined('ENANO_INTERFACE_INDEX') || defined('ENANO_INTERFACE_AJAX') || defined('IN_ENANO_UPGRADE') )
   134     {
   134     {
   135       if ( empty($title) )
   135       if ( empty($title) )
   136         $title = get_title();
   136         $title = get_title();
   137       
   137       
   138       if ( empty($title) && getConfig('main_page', 'Main_Page') != '' && getConfig('main_page', getConfig('main_page', 'Main_Page')) != '' )
   138       if ( empty($title) && !have_blank_urlname_page() )
   139       {
   139       {
   140         $this->main_page();
   140         $this->main_page();
   141       }
   141       }
   142       if ( strstr($title, ' ') || strstr($title, '+') || strstr($title, '%20') )
   142       if ( strstr($title, ' ') || strstr($title, '+') || strstr($title, '%20') )
   143       {
   143       {