]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
fixup required XMPP library
[quix0rs-gnu-social.git] / lib / common.php
index 18e4ed54afd066c1bd4f8b24c229cd488d9e3da1..6be17c091450b091e46484d5d2d34f03700bd520 100644 (file)
@@ -19,7 +19,7 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
-define('LACONICA_VERSION', '0.3.4');
+define('LACONICA_VERSION', '0.4.1');
 
 define('AVATAR_PROFILE_SIZE', 96);
 define('AVATAR_STREAM_SIZE', 48);
@@ -40,7 +40,10 @@ $config =
                          'server' => 'localhost',
                          'theme' => 'default',
                          'path' => '/',
-                         'fancy' => false),
+                         'fancy' => false,
+                         'email' => $_SERVER['SERVER_ADMIN'],
+                         'broughtby' => NULL,
+                         'broughtbyurl' => NULL),
                'syslog' =>
                array('appname' => 'laconica', # for syslog
                          'priority' => 'debug'), # XXX: currently ignored
@@ -48,6 +51,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',
@@ -63,7 +68,8 @@ $config =
                          'port' => 5222,
                          'user' => 'update',
                          'resource' => 'uniquename',
-                         'password' => 'blahblahblah'),
+                         'password' => 'blahblahblah',
+                         'host' => NULL), # only set if != server
                );
 
 $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');
@@ -91,3 +97,7 @@ 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');