summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-09 19:40:17 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-09 19:40:17 +0300
commitf7bfdf58def6aadc922e1632f407d1418269a0d7 (patch)
treed7a0b2819e6a26c11d40ee0b27267ea827fbb345 /config.php
initial
Diffstat (limited to 'config.php')
-rw-r--r--config.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..0e2a225
--- /dev/null
+++ b/config.php
@@ -0,0 +1,28 @@
+<?php
+
+return [
+ 'domain' => 'example.com',
+ 'cookie_host' => '.example.com',
+ 'admin_email' => 'admin@example.com',
+
+ 'db' => [
+ 'type' => 'mysql',
+ 'host' => '127.0.0.1',
+ 'user' => '',
+ 'password' => '',
+ 'database' => '',
+ ],
+
+ 'log_file' => '/var/log/example.com-backend.log',
+
+ 'password_salt' => '12345',
+ 'csrf_token' => '12345',
+ 'uploads_dir' => '/home/user/files.example.com',
+ 'uploads_host' => 'files.example.com',
+
+ 'sassc_bin' => '/usr/local/bin/sassc',
+ 'dirs_mode' => 0775,
+ 'files_mode' => 0664,
+ 'group' => 33, // id -g www-data
+ 'is_dev' => true,
+];