Compare commits

..

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

5 changed files with 6 additions and 8 deletions

View File

@ -6,7 +6,7 @@
Options -MultiViews
</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
</FilesMatch>

View File

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

View File

@ -86,7 +86,7 @@ switch ($action) {
die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()]));
case 'boostedcreature':
$boostedCreature = BoostedCreature::first();
$boostedCreature = BoostedCreature::latest();
die(json_encode([
'boostedcreature' => true,
'raceid' => $boostedCreature->raceid
@ -143,7 +143,7 @@ switch ($action) {
if ($limiter->exceeded($ip)) {
sendError($ban_msg);
}
sendError(($inputEmail != false ? 'Email' : 'Account name') . ' or password is not correct.');
}

View File

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

View File

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