includes/paths.php
changeset 1121 bf5adc446018
parent 1099 73abd46f5148
child 1123 777f32ac6b7c
equal deleted inserted replaced
1120:55b5911cd39e 1121:bf5adc446018
   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) && get_main_page() != '' )
   138       if ( empty($title) && getConfig('main_page', 'Main_Page') != '' && getConfig('main_page', getConfig('main_page', 'Main_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       {