]> 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 a9fef15f34ad4e96f653773db421e95124292bdf..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,24 @@ $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('profile' => INSTALLDIR .'theme/default/image/default-avatar-profile.png',
-                                       'stream' => INSTALLDIR .'theme/default/image/default-avatar-stream.png',
-                                       'mini' => INSTALLDIR .'theme/default/image/default-avatar-mini.png'))
-);
+               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');