diff --git a/README.md b/README.md index 7d55d5c..bd12884 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ The **Orcinus Site Search** PHP script is an all-in-one website crawler and sear Optionally, **Orcinus** can generate a [sitemap .xml or .xml.gz](https://www.sitemaps.org) file of your pages after every crawl, suitable for uploading to the [Google Search Console](https://search.google.com/search-console/sitemaps). It can also export a JavaScript version of the entire search engine that works with offline mirrors, such as those generated by [HTTrack](https://www.httrack.com). ### Requirements: -- PHP >= 7.2.x -- MySQL / MariaDB >= 10.0.5 +- PHP >= 8.0.x +- MySQL >= 8.0.17 / MariaDB >= 10.0.5 ### 3rd Party Libraries: Included: diff --git a/orcinus/admin.php b/orcinus/admin.php index 7607ef1..423af1e 100644 --- a/orcinus/admin.php +++ b/orcinus/admin.php @@ -252,6 +252,7 @@ if (!$_SESSION['admin_username']) { fputcsv($output, $line); } + fclose($output); die(); } else {