Opencms-vfs.xml
From OpenCms Wiki
(Difference between revisions)
(New page: All settings related to virtual file system (VFS) are stored into this XML. A new resource and resource loader are registered into OpenCms by adding appropriate entries to this XML file. ...) |
|||
Line 3: | Line 3: | ||
A part of '''opencms-vfs.xml''' is given below: | A part of '''opencms-vfs.xml''' is given below: | ||
− | <opencms> | + | <pre> |
+ | <opencms> | ||
<vfs> | <vfs> | ||
<resources> | <resources> | ||
Line 22: | Line 23: | ||
</vfs> | </vfs> | ||
</opencms> | </opencms> | ||
+ | </pre> |
Latest revision as of 07:28, 29 January 2009
All settings related to virtual file system (VFS) are stored into this XML. A new resource and resource loader are registered into OpenCms by adding appropriate entries to this XML file.
A part of opencms-vfs.xml is given below:
<opencms> <vfs> <resources> <resourceloaders> <loader class="org.opencms.loader.CmsDumpLoader" /> <loader class="org.opencms.loader.CmsImageLoader"> <param name="image.scaling.enabled">true</param> </loader> <loader class="org.opencms.loader.CmsPointerLoader" /> <loader class="org.opencms.loader.CmsJspLoader" /> <loader class="org.opencms.loader.CmsXmlPageLoader" /> <loader class="org.opencms.loader.CmsXmlContentLoader" /> </resourceloaders> . . . .. </vfs> </opencms>