1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-08 10:49:15 +00:00

per-user preferences

This commit is contained in:
Andrew Dolgov
2005-11-18 06:17:17 +01:00
parent 46a1969d75
commit ff485f1d50
7 changed files with 77 additions and 28 deletions

View File

@@ -4,12 +4,17 @@
require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";
require_once "functions.php";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
$_SESSION["name"] = PLACEHOLDER_NAME;
initialize_user_prefs($link, $_SESSION["uid"]);
// FIXME this needs to be moved somewhere after user creation
?>
<html>
<head>