aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-13 12:13:13 +0200
committeradam <adam@>2021-02-13 12:13:13 +0200
commit232ec00948655b8c68035368400b0a79c101976b (patch)
tree23db4dd54cbfd84a98b0315712529c4de073f9b7 /loggedin.php
parent508baff21febbd3676ce29d4d45e326d8a11cc4b (diff)
downloadfileup-232ec00948655b8c68035368400b0a79c101976b.tar.gz
removed usename from session
Diffstat (limited to 'loggedin.php')
-rw-r--r--loggedin.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/loggedin.php b/loggedin.php
index b655819..cc31684 100644
--- a/loggedin.php
+++ b/loggedin.php
@@ -6,7 +6,12 @@
<button id="upload_btn" onclick="new_folder()">New Folder</button>
<div class="separator"></div>
<div class="path" id="the_path">
- <button class="pathentry" id="home_path_entry"><?php echo $_SESSION['username'] ?>'s files</button>
+ <button class="pathentry" id="home_path_entry">
+ <?php
+ $user=$_SESSION['user_object'];
+ echo $user->username;
+ ?>
+ 's files</button>
</div>
</h2>