This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ad_proc -private rp_resources_filter { why } { | |
This filter runs on all URLs of the form /resources/*. The acs-resources package | |
mounts itself at /resources but we short circuit references here in order to | |
maximize throughput for resource files. We just ns_returnfile the file, no | |
permissions are checked, the ad_conn structure is not initialized, etc. | |
There are two mapping possibilities: | |
/resources/package-key/* maps to root/packages/package-key/www/resources/* |