mirror of
https://github.com/claradex/nativegallery.git
synced 2025-02-22 19:49:51 +03:00
update core files
This commit is contained in:
parent
be85a9531a
commit
52dbf10d3d
3 changed files with 5 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -6,7 +6,6 @@
|
||||||
/ngallery.yaml
|
/ngallery.yaml
|
||||||
ngallery.yaml
|
ngallery.yaml
|
||||||
/cdn/
|
/cdn/
|
||||||
*.yaml
|
|
||||||
ngallery.yaml
|
ngallery.yaml
|
||||||
/views/pages/t.php
|
/views/pages/t.php
|
||||||
views/pages/t.php
|
views/pages/t.php
|
||||||
|
@ -14,3 +13,5 @@ rules.txt
|
||||||
rules.txt
|
rules.txt
|
||||||
/uploads/*
|
/uploads/*
|
||||||
t.php
|
t.php
|
||||||
|
logs
|
||||||
|
.txt
|
|
@ -15,6 +15,7 @@ class App
|
||||||
|
|
||||||
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/ngallery.yaml')) {
|
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/ngallery.yaml')) {
|
||||||
define("NGALLERY", Yaml::parse(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/ngallery.yaml'))['ngallery']);
|
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) {
|
if (NGALLERY['root']['debug'] === true) {
|
||||||
Debugger::enable();
|
Debugger::enable();
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,3 +70,4 @@ ngallery:
|
||||||
premoderation: false
|
premoderation: false
|
||||||
contests:
|
contests:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
autonew: true
|
||||||
|
|
Loading…
Reference in a new issue