X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fcommon.php;h=19b0e4b643d4a0676a4ee0e827c3d3453322a757;hb=53254d36ea30371b52d86208f9b6effae648f19d;hp=82a29a001be2acd10e7971f0ca597150f3c84635;hpb=329eac160ac65f8b691ec7fc2c0181cd50401ffc;p=quix0rs-gnu-social.git diff --git a/lib/common.php b/lib/common.php index 82a29a001b..19b0e4b643 100644 --- a/lib/common.php +++ b/lib/common.php @@ -1,25 +1,22 @@ . */ -/* XXX: break up into separate modules (HTTP, HTML, user, files) */ - - if (!defined('LACONICA')) { exit(1); } define('AVATAR_PROFILE_SIZE', 96); @@ -39,18 +36,25 @@ $config = array('site' => array('name' => 'Just another Laconica microblog', 'server' => 'localhost', - 'path' => '/'), + 'path' => '/', + 'fancy' => false), + 'tag' => + array('authority' => 'INVALID TAG', + 'date' => 'PUT A DATE HERE', + 'prefix' => ''), 'license' => - array('url' => 'http://creativecommons.org/license/by/3.0/', - 'title' => 'Creative Commons Attribution 3.0'), + 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'), 'avatar' => - array('directory' => INSTALLDIR . '/avatar', - 'path' => '/avatar') -); + array('default' => + array('profile' => 'theme/default/image/default-avatar-profile.png', + 'stream' => 'theme/default/image/default-avatar-stream.png', + 'mini' => 'theme/default/image/default-avatar-mini.png'))); $config['db'] = &PEAR::getStaticProperty('DB_DataObject','options'); -$config['db'] = +$config['db'] = array('database' => 'YOU HAVE TO SET THIS IN config.php', 'schema_location' => INSTALLDIR . '/classes', 'class_location' => INSTALLDIR . '/classes',