diff options
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index 46503b3a7..88213fc5c 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -70,7 +70,7 @@ function file_init() { * User's files: pg/file/owner/<username> * Friends' files: pg/file/friends/<username> * View file: pg/file/view/<guid>/<title> - * New file: pg/file/new/<guid> + * New file: pg/file/add/<guid> * Edit file: pg/file/edit/<guid> * Group files: pg/file/group/<guid>/owner * @@ -102,7 +102,7 @@ function file_page_handler($page) { set_input('guid', $page[1]); include "$file_dir/view.php"; break; - case 'new': + case 'add': set_input('guid', $page[1]); include "$file_dir/upload.php"; break; |