2010-10-20 46 views

回答

1
<% 'If the portal.js exists, insert %> 
<% if System.IO.File.Exists(Server.MapPath(PortalSettings.HomeDirectory & "portal.js")) then %> 
<script src="<%= PortalSettings.HomeDirectory %>portal.js"></script> 
<% end if %>