summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
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,
+];