Index: openacs-4/packages/acs-templating/www/doc/demo/compile.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/compile.tcl,v diff -u -N -r1.1.1.1.30.3 -r1.1.1.1.30.4 --- openacs-4/packages/acs-templating/www/doc/demo/compile.tcl 26 May 2016 17:21:59 -0000 1.1.1.1.30.3 +++ openacs-4/packages/acs-templating/www/doc/demo/compile.tcl 26 May 2016 17:22:32 -0000 1.1.1.1.30.4 @@ -11,7 +11,7 @@ ad_complain "Only files within this directory may be shown." } set dir [file dirname [ad_conn file]] - if { ![file readable $file] } { + if { ![file readable $dir/$file] } { ad_complain "requested file is not readable." } }