Clearer message if we can't write the .htaccess file - http://mosquito.wordpress.org/view.php?id=694

git-svn-id: https://develop.svn.wordpress.org/trunk@2315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-02-14 03:22:25 +00:00
parent 6a37d5e580
commit f96e769401
1 changed files with 6 additions and 1 deletions

View File

@ -43,7 +43,12 @@ save_mod_rewrite_rules();
?>
<?php if (isset($_POST['submit'])) : ?>
<div class="updated"><p><?php _e('Permalink structure updated.'); ?></p></div>
<div class="updated"><p><?php
if ($writable)
_e('Permalink structure updated.');
else
_e('You should update your .htaccess now.');
?></p></div>
<?php endif; ?>
<div class="wrap">