diff --git a/inc/htaccess.php b/inc/htaccess.php index c69ce0c..978be88 100644 --- a/inc/htaccess.php +++ b/inc/htaccess.php @@ -1,11 +1,25 @@ using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) { if ($mod_rewrite_enabled) { $h5bp_rules = extract_from_markers($htaccess_file, 'HTML5 Boilerplate'); - if ($h5bp_rules === array()) { - $filename = dirname(__FILE__) . '/h5bp-htaccess'; - return insert_with_markers($htaccess_file, 'HTML5 Boilerplate', extract_from_markers($filename, 'HTML5 Boilerplate')); - } + if ($h5bp_rules === array()) { + $filename = dirname(__FILE__) . '/h5bp-htaccess'; + return insert_with_markers($htaccess_file, 'HTML5 Boilerplate', extract_from_markers($filename, 'HTML5 Boilerplate')); + } } }