mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-15 08:23:30 +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>
|
<system.web>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<!-- iis6 - for any request in this location, return via managed static file handler -->
|
<!-- 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>
|
</httpHandlers>
|
||||||
<!--
|
<!--
|
||||||
Enabling request validation in view pages would cause validation to occur
|
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.
|
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.
|
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>
|
</handlers>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
<runtime>
|
<runtime>
|
||||||
|
Loading…
Reference in New Issue
Block a user