diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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)) { |