aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-18 15:01:42 -0800
committerCash Costello <cash.costello@gmail.com>2012-01-18 15:01:42 -0800
commit58c7d12dfc0bb51ee999502892ee1336ce693d34 (patch)
treecdc9a069f935f3bea0d4380c0021e69c384f860a /mod/file/start.php
parentf49edad1541b1599cd591ff3cd8397e63e37469c (diff)
parente58b6b45641f4f534b69f0df95434b09e78695c7 (diff)
downloadelgg-58c7d12dfc0bb51ee999502892ee1336ce693d34.tar.gz
elgg-58c7d12dfc0bb51ee999502892ee1336ce693d34.tar.bz2
Merge pull request #146 from adayth/patch-1
Fixes #4305 added backward compatibility for file read url
Diffstat (limited to 'mod/file/start.php')
-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;