summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 11:29:58 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 11:29:58 -0400
commit516996fe9fc8d82a5f2dc719a360e4005948326c (patch)
treeb239e185fd7f804ecc7ea7e0cafc350fa1d8cf0c /config.php
parent2d581992668b411020cc1dad16d8c05858c31a65 (diff)
make config kinda work
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz
Diffstat (limited to 'config.php')
-rw-r--r--config.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/config.php b/config.php
deleted file mode 100644
index cd00072a6..000000000
--- a/config.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-if (!defined('MICROBLOG')) { exit(1) }
-
-$dsn = array(
- 'phptype' => 'pgsql',
- 'username' => 'someuser',
- 'password' => 'apasswd',
- 'hostspec' => 'localhost',
- 'database' => 'thedb',
- );
-
-$options = array(
- 'debug' => 2,
- 'portability' => DB_PORTABILITY_ALL,
- );
-
-$db =& DB::connect($dsn, $options);
-if (PEAR::isError($db)) {
- die($db->getMessage());
-}
-
-$config['db'] =
- array( 'username' => 'stoica',
- 'password' => 'replaceme',
-