Cleaning up blogfilename.

git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-12-24 01:34:47 +00:00
parent c12f7caf57
commit 3ebf5a36e2
10 changed files with 20 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ if (preg_match('#([^/]+.php)#', $PHP_SELF, $self_matches)) {
$pagenow = explode('?', $pagenow);
$pagenow = $pagenow[0];
if (($querystring_start == '/') && ($pagenow != 'post.php')) {
$pagenow = get_settings('siteurl') . '/' . get_settings('blogfilename');
$pagenow = get_settings('siteurl') . '/';
}
} else {
$pagenow = 'index.php';