Compare commits

..

No commits in common. "main" and "v1.4" have entirely different histories.
main ... v1.4

6 changed files with 7 additions and 9 deletions

View File

@ -6,7 +6,7 @@
Options -MultiViews Options -MultiViews
</IfModule> </IfModule>
<FilesMatch "^(.*\.md|.*\.json|.*\.dist|.*\.sql|CHANGELOG|README|composer\.lock)$"> <FilesMatch "^(CHANGELOG\.md|README\.md|composer\.json|composer\.lock|package\.json|package-lock\.json|cypress\.env\.json)$">
Require all denied Require all denied
</FilesMatch> </FilesMatch>

View File

@ -1,6 +1,6 @@
# [MyAAC](https://my-aac.org) # [MyAAC](https://my-aac.org)
MyAAC is a free and open-source Automatic Account Creator (AAC) for Open Tibia Servers written in PHP. It is a fork of the [Gesior](https://github.com/gesior/Gesior2012) project. It supports only MySQL databases. MyAAC is a free and open-source Automatic Account Creator (AAC) written in PHP. It is a fork of the [Gesior](https://github.com/gesior/Gesior2012) project. It supports only MySQL databases.
Official website: https://my-aac.org Official website: https://my-aac.org

View File

@ -26,7 +26,7 @@
if (version_compare(phpversion(), '8.1', '<')) die('PHP version 8.1 or higher is required.'); if (version_compare(phpversion(), '8.1', '<')) die('PHP version 8.1 or higher is required.');
const MYAAC = true; const MYAAC = true;
const MYAAC_VERSION = '1.4.1-dev'; const MYAAC_VERSION = '1.4';
const DATABASE_VERSION = 43; const DATABASE_VERSION = 43;
const TABLE_PREFIX = 'myaac_'; const TABLE_PREFIX = 'myaac_';
define('START_TIME', microtime(true)); define('START_TIME', microtime(true));

View File

@ -86,7 +86,7 @@ switch ($action) {
die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()])); die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()]));
case 'boostedcreature': case 'boostedcreature':
$boostedCreature = BoostedCreature::first(); $boostedCreature = BoostedCreature::latest();
die(json_encode([ die(json_encode([
'boostedcreature' => true, 'boostedcreature' => true,
'raceid' => $boostedCreature->raceid 'raceid' => $boostedCreature->raceid

View File

@ -14,7 +14,7 @@ server {
# block .htaccess, CHANGELOG.md, composer.json etc. # block .htaccess, CHANGELOG.md, composer.json etc.
# this is to prevent finding software versions # this is to prevent finding software versions
location ~\.(ht|md|json|dist|sql)$ { location ~\.(ht|md|json|dist)$ {
deny all; deny all;
} }

View File

@ -4,9 +4,7 @@
let colors = []; let colors = [];
{% for cat, menu in menus %} {% for cat, menu in menus %}
{% if config('menu_categories')[cat] is not empty %}
last_id[{{ cat }}] = {{ last_id[cat] }}; last_id[{{ cat }}] = {{ last_id[cat] }};
{% endif %}
{% endfor %} {% endfor %}
{% set menuDefaultLinksColor = config('menu_default_links_color') %} {% set menuDefaultLinksColor = config('menu_default_links_color') %}