From 43b62acb44893fc62682e09a387ce77f102c06ea Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 5 Nov 2010 20:51:39 +1100 Subject: Stopped storing the full path name of the images in the database. Should make it easier/possible to move the imageboard later. --- inc/display.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc') diff --git a/inc/display.php b/inc/display.php index 132dcac5..71ecface 100644 --- a/inc/display.php +++ b/inc/display.php @@ -81,7 +81,7 @@ // File info if(!empty($this->file)) { - $built .= '

File: ' . basename($this->file) . ' (' . + $built .= '

File: ' . $this->file . ' (' . // Filesize format_bytes($this->filesize) . ', ' . // File dimensions @@ -94,7 +94,7 @@ // Filename $built .= ', ' . $this->filename . ')

' . // Thumbnail - ''; + ''; } // Body @@ -131,7 +131,7 @@ public function build($index=false) { - $built = '

File: ' . basename($this->file) . ' (' . + $built = '

File: ' . $this->file . ' (' . // Filesize format_bytes($this->filesize) . ', ' . // File dimensions @@ -144,7 +144,7 @@ // Filename $built .= ', ' . $this->filename . ')

' . // Thumbnail - ''; + ''; $built .= '

'; -- cgit v1.3