X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommon.php;h=6be17c091450b091e46484d5d2d34f03700bd520;hb=680738e05344ddad432a0a74c71c9c17e7779bf0;hp=18e4ed54afd066c1bd4f8b24c229cd488d9e3da1;hpb=be3a44651c47a27907e682a8e4c9e5dd9352a1f6;p=quix0rs-gnu-social.git diff --git a/lib/common.php b/lib/common.php index 18e4ed54af..6be17c0914 100644 --- a/lib/common.php +++ b/lib/common.php @@ -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');