ds from env, env registry for local dev
This commit is contained in:
parent
b4aa34d24a
commit
8cbf148c53
@ -18,6 +18,7 @@
|
|||||||
<cfset this.datasource = "spec"/>
|
<cfset this.datasource = "spec"/>
|
||||||
<cfset this.defaultdatasource = this.datasource/>
|
<cfset this.defaultdatasource = this.datasource/>
|
||||||
<cfset request.DS = "#this.datasource#">
|
<cfset request.DS = "#this.datasource#">
|
||||||
|
<cfset this.datasources["#this.datasource#"]=getDS("#this.datasource#","datasource_#this.datasource#")/>
|
||||||
|
|
||||||
<cfset COOKIEENCKEY = "PREVED!Y2"/>
|
<cfset COOKIEENCKEY = "PREVED!Y2"/>
|
||||||
<!--- Define the page request properties. --->
|
<!--- Define the page request properties. --->
|
||||||
@ -273,7 +274,11 @@
|
|||||||
</cfquery>
|
</cfquery>
|
||||||
|
|
||||||
<cfcatch type="any">
|
<cfcatch type="any">
|
||||||
<!--- <cfdump var=#ds#/><cfabort/> --->
|
<!---
|
||||||
|
<cfdump var=#ds#/>
|
||||||
|
<cfdump var=#system.getEnv()#/>
|
||||||
|
<cfabort/>
|
||||||
|
--->
|
||||||
<cfrethrow/>
|
<cfrethrow/>
|
||||||
</cfcatch>
|
</cfcatch>
|
||||||
</cftry>
|
</cftry>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
2025-06-16 10:58:02
|
||||||
|
Локально, чтобы не загаживать окружение, поместим переменные окружения в реестр [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lucee] "Environment"
|
||||||
2025-06-14 11:02:46
|
2025-06-14 11:02:46
|
||||||
Центральный селект
|
Центральный селект
|
||||||
select * from specification_item_version siv
|
select * from specification_item_version siv
|
||||||
|
Loading…
Reference in New Issue
Block a user