mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Fixing theme.png previews again
--HG-- branch : dev
This commit is contained in:
parent
c03c075082
commit
15328ac0d6
@ -3,7 +3,7 @@
|
||||
<system.web>
|
||||
<httpHandlers>
|
||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
||||
<!--<add path="*/Theme.png" verb="*" type="System.Web.StaticFileHandler" />-->
|
||||
<add path="*/Theme.png" verb="*" type="System.Web.StaticFileHandler" />
|
||||
</httpHandlers>
|
||||
<!--
|
||||
Enabling request validation in view pages would cause validation to occur
|
||||
@ -30,7 +30,7 @@
|
||||
iis7 - for any request to a file exists on disk, return it via native http module.
|
||||
accessPolicy 'Script' is to allow for a managed 404 page.
|
||||
-->
|
||||
<!--<add name="StaticFile" path="*/Theme.png" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />-->
|
||||
<add name="ThemePreviewImage" path="*/Theme.png" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
|
Loading…
Reference in New Issue
Block a user