aboutsummaryrefslogtreecommitdiff
path: root/config-dist.php
diff options
context:
space:
mode:
authorArno Richter <oelna@oelna.de>2022-12-11 16:15:21 +0100
committerArno Richter <oelna@oelna.de>2022-12-11 16:16:17 +0100
commit59febc76e35856ae3d7157507e54d2d17fb7a062 (patch)
treeb391ffe06a7c8f73a9d9fefd5dd3798d8ef4671b /config-dist.php
parent2207c1f2db82fa52eb5dd8123d82380e790ee74b (diff)
downloadmicroblog-59febc76e35856ae3d7157507e54d2d17fb7a062.tar.gz
microblog-59febc76e35856ae3d7157507e54d2d17fb7a062.tar.bz2
microblog-59febc76e35856ae3d7157507e54d2d17fb7a062.zip
add first edition of XMLRPC support via the metaWeblog API. Closes #18
Diffstat (limited to 'config-dist.php')
-rw-r--r--config-dist.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-dist.php b/config-dist.php
index 8f33ac7..96b0423 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -25,6 +25,7 @@ $config = array(
'microblog_account' => '', // fill in a @username if you like
'admin_user' => 'admin',
'admin_pass' => 'dove-life-bird-lust',
+ 'app_token' => '3e83b13d99bf0de6c6bde5ac5ca4ae687a3d46db', // random secret used as auth with XMLRPC
'cookie_life' => 60*60*24*7*4, // cookie life in seconds
'ping' => true, // enable automatic pinging of the micro.blog service
'crosspost_to_twitter' => false, // set this to true to automatically crosspost to a twitter account (requires app credentials, see below)
@@ -36,6 +37,9 @@ $config = array(
)
);
+$config['xmlrpc'] = function_exists('xmlrpc_server_create');
+$config['local_time_offset'] = date('P');
+
// load functions
require_once(ROOT.DS.'database.php');
require_once(ROOT.DS.'functions.php');