aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradayth <aday.talavera@gmail.com>2012-01-17 12:24:47 +0000
committeradayth <aday.talavera@gmail.com>2012-01-17 12:24:47 +0000
commite58b6b45641f4f534b69f0df95434b09e78695c7 (patch)
treecdc9a069f935f3bea0d4380c0021e69c384f860a
parentf49edad1541b1599cd591ff3cd8397e63e37469c (diff)
downloadelgg-e58b6b45641f4f534b69f0df95434b09e78695c7.tar.gz
elgg-e58b6b45641f4f534b69f0df95434b09e78695c7.tar.bz2
Fixes #4305 added backward compatibility for file read url
-rw-r--r--mod/file/start.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 36142533f..f8b512318 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -122,6 +122,7 @@ function file_page_handler($page) {
include "$file_dir/friends.php";
break;
case 'view':
+ case 'read': // Elgg 1.7 compatibility
set_input('guid', $page[1]);
include "$file_dir/view.php";
break;