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

git-svn-id: http://svn.automattic.com/wordpress/trunk@2315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-14 03:22:25 +00:00
parent 5738851fa5
commit 636fd6d92f

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">