]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
add alternative reply format
[quix0rs-gnu-social.git] / lib / common.php
index 2853c56e3d80e313ad8c596dbc0019b58b83dc53..d8ef18d90796e0da79c9331139d277e6c7a437e9 100644 (file)
@@ -19,7 +19,7 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
-define('LACONICA_VERSION', '0.3.4');
+define('LACONICA_VERSION', '0.4.3');
 
 define('AVATAR_PROFILE_SIZE', 96);
 define('AVATAR_STREAM_SIZE', 48);
@@ -40,7 +40,11 @@ $config =
                          'server' => 'localhost',
                          'theme' => 'default',
                          'path' => '/',
-                         'fancy' => false),
+                         'logfile' => NULL,
+                         'fancy' => false,
+                         'email' => $_SERVER['SERVER_ADMIN'],
+                         'broughtby' => NULL,
+                         'broughtbyurl' => NULL),
                'syslog' =>
                array('appname' => 'laconica', # for syslog
                          'priority' => 'debug'), # XXX: currently ignored
@@ -48,6 +52,8 @@ $config =
                array('authority' => 'INVALID TAG',
                          'date' => 'PUT A DATE HERE',
                          'prefix' => ''),
+               'queue' =>
+               array('enabled' => false),
                'license' =>
                array('url' => 'http://creativecommons.org/licenses/by/3.0/',
                          'title' => 'Creative Commons Attribution 3.0',
@@ -56,7 +62,16 @@ $config =
                array('backend' => 'mail',
                          'params' => NULL),
                'nickname' =>
-               array('blacklist' => array())
+               array('blacklist' => array()),
+               'xmpp' =>
+               array('enabled' => false,
+                         'server' => 'INVALID SERVER',
+                         'port' => 5222,
+                         'user' => 'update',
+                         'resource' => 'uniquename',
+                         'password' => 'blahblahblah',
+                         'host' => NULL, # only set if != server
+                         'debug' => false), # print extra debug info
                );
 
 $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');
@@ -83,3 +98,8 @@ require_once(INSTALLDIR.'/classes/Remote_profile.php');
 require_once(INSTALLDIR.'/classes/Subscription.php');
 require_once(INSTALLDIR.'/classes/User.php');
 require_once(INSTALLDIR.'/classes/Confirm_address.php');
+require_once(INSTALLDIR.'/classes/Remember_me.php');
+require_once(INSTALLDIR.'/classes/Queue_item.php');
+require_once(INSTALLDIR.'/classes/Reply.php');
+
+require_once('markdown.php');