]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
debugging stuff in accesstoken action
[quix0rs-gnu-social.git] / lib / common.php
index 9328d33e9fd8be70645e9e0c954cc9d11136fda8..f910b361350cd764d125458fd4c3e691ec31bec2 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,19 +36,21 @@ $config =
   array('site' =>
                array('name' => 'Just another Laconica microblog',
                          'server' => 'localhost',
-                         'path' => '/'),
+                         'path' => '/',
+                         'fancy' => false),
+               'syslog' =>
+               array('appname' => 'laconica', # for syslog
+                         'priority' => 'debug'), # XXX: currently ignored
                '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',
-                         'default' => 
+               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')));