]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
csrf protection in userauthorization
[quix0rs-gnu-social.git] / lib / common.php
index 94f720137bcb57d6486f7dfc1e1e19e95fe44405..e4c8e9032a9bc66c1e78a5a46c09648e62026928 100644 (file)
@@ -86,6 +86,7 @@ $config =
                          'server' => 'INVALID SERVER',
                          'port' => 5222,
                          'user' => 'update',
+                         'encryption' => true,
                          'resource' => 'uniquename',
                          'password' => 'blahblahblah',
                          'host' => NULL, # only set if != server
@@ -121,6 +122,7 @@ 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.'/lib/subs.php');
 
 function __autoload($class) {
        if ($class == 'OAuthRequest') {