includes/paths.php
changeset 685 17ebe24cdf85
parent 650 e45183014778
child 692 78473351a6c9
--- a/includes/paths.php	Mon Aug 11 21:43:04 2008 -0400
+++ b/includes/paths.php	Mon Aug 11 22:31:04 2008 -0400
@@ -2,7 +2,7 @@
 
 /**
  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
- * Version 1.1.4 (Caoineag alpha 4)
+ * Version 1.1.5 (Caoineag alpha 5)
  * Copyright (C) 2006-2008 Dan Fuhry
  * paths.php - The part of Enano that actually manages content. Everything related to page handling and namespaces is in here.
  *
@@ -192,7 +192,7 @@
     if ( defined('ENANO_INTERFACE_INDEX') || defined('ENANO_INTERFACE_AJAX') || defined('IN_ENANO_UPGRADE') )
     {
       $title = $this->parse_url(false);
-      if ( empty($title) )
+      if ( empty($title) && getConfig('main_page') != '' )
       {
         $this->main_page();
       }