mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-22 08:30:56 +03:00
update scripts
This commit is contained in:
parent
6c90d8e34e
commit
9aaa8d3cb3
5 changed files with 63 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
||||||
.osp
|
.osp
|
||||||
.git
|
.git
|
||||||
.github
|
.github
|
||||||
|
ngallery.yaml
|
32
.htaccess
Normal file
32
.htaccess
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
AddDefaultCharset UTF-8
|
||||||
|
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
|
||||||
|
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
|
<Files .env>
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files .gitignore>
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files .yml>
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files .yaml>
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
|
||||||
|
RedirectMatch 404 /\.git
|
||||||
|
RedirectMatch 404 /\.yml
|
||||||
|
RedirectMatch 404 /\.yaml
|
||||||
|
RedirectMatch 404 /\..*$
|
|
@ -1,10 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
// Prevent worker script termination when a client connection is interrupted
|
// Prevent worker script termination when a client connection is interrupted
|
||||||
ignore_user_abort(true);
|
|
||||||
echo 'gfdfgdfgdgfdgf';
|
|
||||||
require __DIR__.'/vendor/autoload.php';
|
require __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
// Include the App class definition
|
|
||||||
use App\Core\{Routes, Page};
|
use App\Core\{Routes, Page};
|
||||||
use App\Services\DB;
|
use App\Services\DB;
|
||||||
use Symfony\Component\Yaml\Yaml;
|
use Symfony\Component\Yaml\Yaml;
|
||||||
|
|
29
ngallery-example.yaml
Normal file
29
ngallery-example.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
ngallery:
|
||||||
|
root:
|
||||||
|
maintenance: false
|
||||||
|
debug: true
|
||||||
|
botkey: ''
|
||||||
|
db:
|
||||||
|
name: ''
|
||||||
|
host: ''
|
||||||
|
login: ''
|
||||||
|
password: ''
|
||||||
|
websockets:
|
||||||
|
messages: ""
|
||||||
|
storage:
|
||||||
|
type: 's3'
|
||||||
|
s3:
|
||||||
|
domains:
|
||||||
|
public: ''
|
||||||
|
gateway: ''
|
||||||
|
credentials:
|
||||||
|
key: ''
|
||||||
|
secret: ''
|
||||||
|
region: 'auto'
|
||||||
|
version: 'latest'
|
||||||
|
bucket: ''
|
||||||
|
img:
|
||||||
|
proxy: true
|
||||||
|
percent: 50
|
||||||
|
|
||||||
|
|
1
static/img/serverdown.svg
Normal file
1
static/img/serverdown.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.4 KiB |
Loading…
Reference in a new issue