]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
RSS alternate link for tag pages
[quix0rs-gnu-social.git] / index.php
index fad6266466a6a49f586f60f63e1bb81fa674a8b7..de39dd020c37aace898489c3194c49facac5c862 100644 (file)
--- a/index.php
+++ b/index.php
@@ -22,6 +22,14 @@ define('LACONICA', true);
 
 require_once(INSTALLDIR . "/lib/common.php");
 
+# get and cache current user
+
+$user = common_current_user();
+
+# initialize language env
+
+common_init_language();
+
 $action = $_REQUEST['action'];
 
 if (!$action || !preg_match('/^[a-zA-Z0-9_-]*$/', $action)) {