Ruta dinamica de carpeta "Empresas" asignar valor desde el web config
This commit is contained in:
@@ -106,7 +106,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
||||
|
||||
Dim usuario As Usuario = UsuarioActual(context)
|
||||
If Not IsNothing(usuario) Then
|
||||
Url = String.Format("{0}Empresas\{1}\{2}", AppDomain.CurrentDomain.BaseDirectory, usuario.CveEmpresa, Url)
|
||||
Url = String.Format("{0}Empresas\{1}\{2}", ModExtensiones.DirectorioBaseEmpresas, usuario.CveEmpresa, Url)
|
||||
Dim FileInfo As FileInfo = New FileInfo(Url)
|
||||
If FileInfo.Exists Then
|
||||
context.Response.ContentType = "image/png"
|
||||
|
||||
Reference in New Issue
Block a user