aboutsummaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-04-07 11:49:12 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2021-04-07 11:49:12 +0300
commitfd4cb27121122d146b8cc3d55ad5aa9312c2cbe6 (patch)
tree9a6b58cabe2320d8b385196a68ab973803199eac /config.php
downloadbugtracker-fd4cb27121122d146b8cc3d55ad5aa9312c2cbe6.tar.xz
Initial commit
Diffstat (limited to 'config.php')
-rw-r--r--config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..7555eee
--- /dev/null
+++ b/config.php
@@ -0,0 +1,14 @@
+<?php
+
+$config = array(
+ 'db' => array(
+ 'dsn' => 'pgsql:dbname=bugtracker;host=localhost;port=5432',
+ 'username' => 'red',
+ 'password' => 'red'
+ )
+);
+
+define("LIBRARY_PATH", realpath(dirname(__FILE__) . '/library'));
+define("TEMPLATES_PATH", realpath(dirname(__FILE__) . '/templates'));
+
+?>