]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
get content of element rather than raw element
[quix0rs-gnu-social.git] / lib / common.php
index 66de209d66d1d9fdd9868380962cdf14a70e9475..19b0e4b643d4a0676a4ee0e827c3d3453322a757 100644 (file)
@@ -17,8 +17,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* XXX: break up into separate modules (HTTP, HTML, user, files) */
-
 if (!defined('LACONICA')) { exit(1); }
 
 define('AVATAR_PROFILE_SIZE', 96);
@@ -38,15 +36,21 @@ $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/',
+               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');