summaryrefslogtreecommitdiff
path: root/config.php.sample
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.sample
parent2d581992668b411020cc1dad16d8c05858c31a65 (diff)
make config kinda work
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz
Diffstat (limited to 'config.php.sample')
-rw-r--r--config.php.sample19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.php.sample b/config.php.sample
new file mode 100644
index 000000000..dea20ec95
--- /dev/null
+++ b/config.php.sample
@@ -0,0 +1,19 @@
+<?php
+/* -*- mode: php -*- */
+
+if (!defined('LACONICA')) { exit(1) }
+
+# We get called by common.php, $config is a tree with lots of config
+# options
+# These are for configuring your URLs
+
+$config['site']['name'] = 'Just another Laconica microblog';
+$config['site']['server'] = 'localhost';
+$config['site']['path'] = 'laconica';
+
+# This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php
+# Set it to match your actual database
+
+$config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
+
+