Index: openacs-4/packages/file-storage/www/view/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/view/index.vuh,v diff -u -r1.3 -r1.4 --- openacs-4/packages/file-storage/www/view/index.vuh 8 Aug 2006 21:26:49 -0000 1.3 +++ openacs-4/packages/file-storage/www/view/index.vuh 17 Jan 2007 15:41:16 -0000 1.4 @@ -23,6 +23,11 @@ -root_folder_id $content_root \ -resolve_index "f"] +if {[apm_package_installed_p views]} { + set user_id [ad_conn user_id] + views::record_view -object_id $file_id -viewer_id $user_id +} + # Serve the page # DRB: Note that content::init modifies the local variable the_root, which is treated