Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Also fix for static frontpage edit.
  • Loading branch information
danpros committed Jun 2, 2024
1 parent 966a7f3 commit 33a29d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It uses a unique algorithm to find or list any content based on date, type, cate

## Requirements

HTMLy requires PHP 5.3 or greater, PHP-Mbstring, PHP-XML, PHP-INTL, and PHP-ZIP package for backup feature.
HTMLy requires PHP 7.2 or greater, PHP-Mbstring, PHP-XML, PHP-INTL, PHP-GD, and PHP-ZIP package for backup feature.

## Installations

Expand Down Expand Up @@ -57,7 +57,7 @@ Thank you to our [contributors](https://github.com/danpros/htmly/graphs/contribu

## Sponsors

Support this project by becoming [Sponsor](https://github.com/sponsors/danpros)
Support this project by becoming a [sponsor](https://github.com/sponsors/danpros)

## Copyright / License

Expand Down
4 changes: 2 additions & 2 deletions system/admin/views/edit-page.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function toggleDivs() {
document.getElementById('hideButton').addEventListener('click', toggleDivs);
</script>
<?php if (config('autosave.enable') == 'true'):?>
<?php if ($type !== 'is_category' && $type !== 'is_profile') :?>
<?php if ($type !== 'is_category' && $type !== 'is_profile' && $type !== 'is_frontpage') :?>
<?php if (stripos($dir . '/', '/draft/') !== false): ?>
<script src="<?php echo site_url();?>system/resources/js/save_draft.js"></script>
<?php endif;?>
Expand Down Expand Up @@ -346,4 +346,4 @@ function toggleDivs() {
localStorage.setItem("preview-state", 'open');
}
})
</script>
</script>

0 comments on commit 33a29d1

Please sign in to comment.