mirror of
https://github.com/claradex/nativegallery.git
synced 2025-02-22 11:40:03 +03:00
update core files
This commit is contained in:
parent
be85a9531a
commit
52dbf10d3d
3 changed files with 5 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -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
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -70,3 +70,4 @@ ngallery:
|
|||
premoderation: false
|
||||
contests:
|
||||
enabled: true
|
||||
autonew: true
|
||||
|
|
Loading…
Reference in a new issue