Update readme

Also fix for static frontpage edit.
This commit is contained in:
danpros 2024-06-02 13:38:20 +07:00
commit 33a29d1b2c
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -317,7 +317,7 @@ $('.img-container').on("click", ".the-img", function(e) {
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;?>