summaryrefslogtreecommitdiff
path: root/view_file.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-03-05 09:33:30 -0500
committerspiderr <spider@viovio.com>2013-03-05 09:33:30 -0500
commite239d4838a867549440efbcbeaf4a5147e29fc12 (patch)
treeb93b4b2a03530d2872a41ec5636b35d92cc55664 /view_file.php
parente099c6ed6b62c4665d3628024291584a189cb684 (diff)
downloadliberty-e239d4838a867549440efbcbeaf4a5147e29fc12.tar.gz
liberty-e239d4838a867549440efbcbeaf4a5147e29fc12.tar.bz2
liberty-e239d4838a867549440efbcbeaf4a5147e29fc12.zip
use GONE for not found; default sort_mode
Diffstat (limited to 'view_file.php')
-rw-r--r--view_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view_file.php b/view_file.php
index 3e169e3..6391efe 100644
--- a/view_file.php
+++ b/view_file.php
@@ -58,6 +58,6 @@ if( $gContent = LibertyBase::getLibertyObject( $attachment['content_id'] ) ) {
$gBitSystem->display( 'bitpackage:liberty/mime_view.tpl', tra( "View File" ), array( 'display_mode' => 'display' ));
} else {
- $gBitSystem->fatalError( 'Not Found', NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND );
+ $gBitSystem->fatalError( 'Not Found', NULL, NULL, HttpStatusCodes::HTTP_GONE );
}
?>