devis sans signature, en Pdf
This commit is contained in:
parent
cf1f1e77b8
commit
c1bb7a1dce
8 changed files with 24 additions and 12 deletions
|
|
@ -7,7 +7,6 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
|
||||
public partial class Startup
|
||||
{
|
||||
public void ConfigureProtectionServices(IServiceCollection services)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ using Microsoft.AspNet.StaticFiles;
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
|
||||
public partial class Startup
|
||||
{
|
||||
public static string UserFilesDirName { get; private set; }
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ using Yavsc.Models;
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
|
||||
public partial class Startup
|
||||
{
|
||||
public static CookieAuthenticationOptions ExternalCookieAppOptions { get; private set; }
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ namespace Yavsc
|
|||
public static string AvatarsDirName { private set; get; }
|
||||
public static string Authority { get; private set; }
|
||||
public static string Audience { get; private set; }
|
||||
public static string Temp { get; set; }
|
||||
public static SiteSettings SiteSetup { get; private set; }
|
||||
|
||||
private static ILogger logger;
|
||||
|
|
@ -234,6 +235,7 @@ namespace Yavsc
|
|||
SiteSetup = siteSettings.Value;
|
||||
Startup.UserFilesDirName = new DirectoryInfo(siteSettings.Value.UserFiles.Blog).FullName;
|
||||
Startup.UserBillsDirName = new DirectoryInfo(siteSettings.Value.UserFiles.Bills).FullName;
|
||||
Startup.Temp = siteSettings.Value.TempDir;
|
||||
|
||||
// TODO implement an installation & upgrade procedure
|
||||
// Create required directories
|
||||
|
|
@ -285,7 +287,7 @@ namespace Yavsc
|
|||
if (ex.InnerException is InvalidOperationException)
|
||||
// nothing to do ?
|
||||
{
|
||||
// TODO Send an email to the Admin
|
||||
// TODO (or not) Hit the developper
|
||||
}
|
||||
else throw ex;
|
||||
}
|
||||
|
|
@ -346,4 +348,4 @@ namespace Yavsc
|
|||
}
|
||||
|
||||
}
|
||||
//
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue