X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommon.php;h=34c024ece0b49b6912b9773ab24f3e03bf113363;hb=1d67f33b3b62cc28d0a9845fb22776ce33adfdaa;hp=1077137ea117cd2375e39b31e0570d19df612c7d;hpb=526a09531e183d9f2483cb1d1e2b0593c0f028a1;p=quix0rs-gnu-social.git diff --git a/lib/common.php b/lib/common.php index 1077137ea1..34c024ece0 100644 --- a/lib/common.php +++ b/lib/common.php @@ -19,6 +19,8 @@ if (!defined('LACONICA')) { exit(1); } +define('LACONICA_VERSION', '0.3.0'); + define('AVATAR_PROFILE_SIZE', 96); define('AVATAR_STREAM_SIZE', 48); define('AVATAR_MINI_SIZE', 24); @@ -49,7 +51,11 @@ $config = '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')); + 'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'), + 'mail' => + array('backend' => 'mail', + 'params' => NULL) + ); $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options'); @@ -66,6 +72,7 @@ require_once(INSTALLDIR.'/config.php'); require_once(INSTALLDIR.'/lib/util.php'); require_once(INSTALLDIR.'/lib/action.php'); require_once(INSTALLDIR.'/lib/theme.php'); +require_once(INSTALLDIR.'/lib/mail.php'); require_once(INSTALLDIR.'/classes/Avatar.php'); require_once(INSTALLDIR.'/classes/Notice.php');