aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
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>