diff options
| author | Peter Lejeck <peter.lejeck@gmail.com> | 2013-11-01 01:53:17 +0100 |
|---|---|---|
| committer | Peter Lejeck <peter.lejeck@gmail.com> | 2013-11-01 01:53:17 +0100 |
| commit | 687b1be63b80a273af9795baac702c7cb62802ac (patch) | |
| tree | d13e726c051be66cd310eda777f818f63914b5e2 /static/includes/database.inc.php | |
| parent | 893fbf251d75df3f5ac1d02d704eec288de426c9 (diff) | |
| parent | 72c861f45ff7458698c2016af5982970d7258a05 (diff) | |
Merge branch 'nuck-dev'
Conflicts:
README.md
Diffstat (limited to 'static/includes/database.inc.php')
| -rw-r--r-- | static/includes/database.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/static/includes/database.inc.php b/static/includes/database.inc.php new file mode 100644 index 0000000..2ed0274 --- /dev/null +++ b/static/includes/database.inc.php @@ -0,0 +1,6 @@ +<?php +include_once 'settings.inc.php'; + +/* NOTE: we don't have to unref the PDO because we're not long-running */ +$db = new PDO(POMF_DB_CONN, POMF_DB_USER, POMF_DB_PASS); +?> |
