Sfoglia il codice sorgente

Changing Data

pull/6/head
Daniel Covington 7 mesi fa
parent
commit
09e92151f2
2 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. +5
    -1
      App/DAL/lib.DAL.asp
  2. +2
    -2
      App/app.config.asp

+ 5
- 1
App/DAL/lib.DAL.asp Vedi File

@@ -21,9 +21,13 @@ dim DAL__Singleton : set DAL__Singleton = Nothing
Function DAL()
If DAL__Singleton is Nothing then
set DAL__Singleton = new Database_Class
DAL__Singleton.Initialize "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Engine Type=5;Data Source=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "Data\webdata - Copy.mdb;"
if dev = true Then
DAL__Singleton.Initialize "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Engine Type=5;Data Source=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "Data\webdata - Copy.mdb;"
Else
DAL__Singleton.Initialize "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Engine Type=5;Data Source=C:\inetpub\Data\webdata - Copy.mdb;"
'DAL__Singleton.Initialize "Provider=SQLOLEDB;Server=danielsubuntu,15789;Database=tracking;UID=sa;PWD=SunBrightShine!;"
End If
End If
set DAL = DAL__Singleton
End Function
%>

+ 2
- 2
App/app.config.asp Vedi File

@@ -1,5 +1,5 @@
<%
dim appCss, appJs, appBootStrapJs, jqueryJs, siteTitle, iconsCss, tabulatorCss
dim appCss, appJs, appBootStrapJs, jqueryJs, siteTitle, iconsCss, tabulatorCss, dev
Routes.Initialize "/App/"
siteTitle = "Mail Tracking Kits"
iconsCss = "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
@@ -7,7 +7,7 @@ appCss = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.cs
tabulatorCss = "/dist/css/tabulator_bootstrap5.css"
appBootStrapJs = "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js' integrity='sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM' crossorigin='anonymous"
jqueryJs = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js' integrity='sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==' crossorigin='anonymous' referrerpolicy='no-referrer"
dev = true
'=======================================================================================================================
' Set Global Variables Here
'=======================================================================================================================


Loading…
Annulla
Salva

Powered by TurnKey Linux.