--- a/includes/pageutils.php Fri Sep 25 14:22:24 2009 -0400
+++ b/includes/pageutils.php Sat Sep 26 15:13:40 2009 -0400
@@ -257,7 +257,7 @@
return 'DNE';
}
- if ( isPage($pname['password']) )
+ if ( isPage($pname) )
{
$password_exists = ( !empty($cdata['password']) && $cdata['password'] !== sha1('') );
if ( $password_exists && $password !== $cdata['password'] )
--- a/includes/paths.php Fri Sep 25 14:22:24 2009 -0400
+++ b/includes/paths.php Sat Sep 26 15:13:40 2009 -0400
@@ -135,7 +135,7 @@
if ( empty($title) )
$title = get_title();
- if ( empty($title) && get_main_page() != '' )
+ if ( empty($title) && getConfig('main_page', 'Main_Page') != '' && getConfig('main_page', getConfig('main_page', 'Main_Page')) != '' )
{
$this->main_page();
}