update core files

This commit is contained in:
themohooks 2025-02-16 04:36:38 +03:00
parent be85a9531a
commit 52dbf10d3d
3 changed files with 5 additions and 2 deletions

5
.gitignore vendored
View file

@ -6,11 +6,12 @@
/ngallery.yaml
ngallery.yaml
/cdn/
*.yaml
ngallery.yaml
/views/pages/t.php
views/pages/t.php
rules.txt
rules.txt
/uploads/*
t.php
t.php
logs
.txt

View file

@ -15,6 +15,7 @@ class App
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/ngallery.yaml')) {
define("NGALLERY", Yaml::parse(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/ngallery.yaml'))['ngallery']);
define("NGALLERY_TASKS", Yaml::parse(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/app/Controllers/Exec/Tasks/ngallery-tasks.yaml'))['tasks']);
if (NGALLERY['root']['debug'] === true) {
Debugger::enable();
}

View file

@ -70,3 +70,4 @@ ngallery:
premoderation: false
contests:
enabled: true
autonew: true