diff options
| author | Peter Lejeck <peter.lejeck@gmail.com> | 2013-10-31 13:01:18 +0100 |
|---|---|---|
| committer | Peter Lejeck <peter.lejeck@gmail.com> | 2013-10-31 13:01:18 +0100 |
| commit | afc3e0f15e6c4e69d17fd5a84253a436a4fba4fc (patch) | |
| tree | 196fcab3f38edf81a00b9b95b4bc64c0a9ee2713 /static/includes/database.inc.php | |
| parent | 3cb3570707b13e5e2ae3097a7e872d6c798f7db8 (diff) | |
Move upload.php into static dir, and do hardcore refactoring
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); +?> |
