X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommon.php;h=6be17c091450b091e46484d5d2d34f03700bd520;hb=680738e05344ddad432a0a74c71c9c17e7779bf0;hp=bcb9d52ce2db6548c9fb518a6cfaea273b53a163;hpb=de9cd14a6f2a71eb42923181e7a5891c98c59e64;p=quix0rs-gnu-social.git diff --git a/lib/common.php b/lib/common.php index bcb9d52ce2..6be17c0914 100644 --- a/lib/common.php +++ b/lib/common.php @@ -19,7 +19,7 @@ if (!defined('LACONICA')) { exit(1); } -define('LACONICA_VERSION', '0.3.0'); +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,13 +51,25 @@ $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', 'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'), 'mail' => array('backend' => 'mail', - 'params' => NULL) + 'params' => NULL), + 'nickname' => + array('blacklist' => array()), + 'xmpp' => + array('enabled' => false, + 'server' => 'INVALID SERVER', + 'port' => 5222, + 'user' => 'update', + 'resource' => 'uniquename', + 'password' => 'blahblahblah', + 'host' => NULL), # only set if != server ); $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options'); @@ -80,3 +95,9 @@ require_once(INSTALLDIR.'/classes/Profile.php'); 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');