Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazz-Man committed Jun 6, 2021
2 parents 41d3348 + 74c6092 commit df94cef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@

1.1.1 / 2021-06-06
==================

* check if insert_with_markers exist

1.1.0 / 2021-06-06
==================

* update CHANGELOG.md
* fix namespace

1.0.0 / 2021-06-06
Expand Down
2 changes: 1 addition & 1 deletion src/LiteSpeedHtaccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function load()

public function generateHtaccess()
{
if (LiteSpeedCache::isLsCacheEnable()) {
if (LiteSpeedCache::isLsCacheEnable() && function_exists('insert_with_markers')) {
try {
$root_dir = app_locate_root_dir();

Expand Down

0 comments on commit df94cef

Please sign in to comment.