Forum - Beitrag anzeigen

News & Infos - RE: Das Beispiel drs.online

Icon Pfeil Startseite Icon Pfeil Kategorie Icon Pfeil Suche

Icon Forum Beitrag vom 23.09.2001 22:08 (1329 Aufrufe)
Name: solala
Titel: RE: Das Beispiel drs.online
Inhalt: Gatebuilder scheint da ja wohl auch ein Sicherheitsbug zu haben.
Wer hat da nicht aufgepaßt, Conceptware :-) ?


http://www1.cojac.net/winwalk/application.cfm+.htr


<cfsetting enablecfoutputonly="YES">
<!--- G@teBuilder ----------------------------------------------
$Workfile: Application.cfm $

Author: Peter
$Header: /Gatebuilder/gbwww/Application.cfm 40 27.06.00 9:41 Peter $

Description:
* Central APPLICATION.CFM - Template
( calls <cf_gbApplicationInitialize> )

----- conceptware ag ------------------------------------------>

<!--- trigger refresh of CACHE, if desired. --->
<cfparam name="bRefreshCache" default="FALSE">
<!--- this should be protected in some way, e.g. only access for "localhost" ... --->
<!---
<cfif NOT FindNoCase("localhost",CGI.HTTP_HOST) AND NOT FindNoCase("127.0.0.1",CGI.HTTP_HOST)>
<cfif bRefreshCache>
<cfset bRefreshCache = "FALSE">
</cfif>
</cfif>
--->

<!--- set the name of the application to be run (e.g. "GateBuilder", "gbTest", ...) --->
<cfset AppName = "winwalk">
<cfif NOT isDefined("AppName")>
<cfoutput><h3>Please set the ApplicationName in application.cfm.</h3></cfoutput>
<cfabort>
</cfif>
<!--- 94F20FAF-A664-11D3-B1D2005004F633FB, --->
<!--- Configure the GateBuilder Application if run for the first time --->
<cf_gbApplicationConfig
SpectraDataSource="CFAOBJECTS"
SpectraApplicationTypeID="74B6FD02-290A-11D3-AD400060B0EB2994"
GBDataSource="#AppName#"
lgbApplicationIDs="135F91D3-DFE4-11D3-92C900105A49066B"
ApplicationName="#AppName#"
ApplicationPath="#cgi.script_name#"
lApplicationSecurityContext="SC1"
r_bError="bError"
r_bFirstTime="bFirstTime">

<!--- check the return values ... --->
<cfif NOT isDefined("bError") OR NOT bError>
<cfif isdefined("bFirstTime") AND bFirstTime>
<cfset bRefreshCache = "TRUE">
</cfif>
<!--- everything in done in here ... --->
<cf_gbApplicationInitialize
Name = "#AppName#"
Mode="Browse"
bRefreshCache="#bRefreshCache#"
lgbApplicationIDs="135F91D3-DFE4-11D3-92C900105A49066B,94F20FAF-A664-11D3-B1D2005004F633FB"

>
<cfelse>
<cf_gbThrow ErrorCode="PRE_INITIALIZE_ERROR">
</cfif>

<cfset application.GateBuilder.coCompanyTypeID = "43A33173-7D85-11D4-87270050BA05E6A0">
<cfset application.GateBuilder.coProductTypeID = "736042A8-88C3-11D4-87390050BA05E6A0">

<!--- please use (or change) this path to reference the d:\www\images\ directory --->
<cfset application.GateBuilder.imagesPath = "/winwalk/images/">

<!--- please use (or change) this path to reference the /winwalk/--->
<cfset application.GateBuilder.wwPath = "/winwalk/">

<!--- all path vars should end with a trailing slash [/] --->
<cfset application.GateBuilder.contentImagesPath = "#application.GateBuilder.imagesPath#content/">
<cfset application.GateBuilder.coPicPath = "#application.GateBuilder.imagesPath#companyCustomImages/">
<cfset application.GateBuilder.coDosPicPath = "p:\">
<cfset application.coDocPath = "#application.GateBuilder.wwPath#/cojacDocumentation/">

<!--- Beinhaltet die Kartenstufen als Durchmesser by CB --->
<!--- <cfset application.maplevel = ArrayNew(1)>
<cfset application.maplevel[1] = 800000>
<cfset application.maplevel[2] = 50000>
<cfset application.maplevel[3] = 25000>
<cfset application.maplevel[4] = 6000>
<cfset application.maplevel[5] = 2000> --->

<!--- Auskommentieren sobald bereit --->
<cfset application.maplevel = ArrayNew(1)>
<cfset application.maplevel[1] = 800000>
<cfset application.maplevel[2] = 50000>
<cfset application.maplevel[3] = 25000>
<cfset application.maplevel[4] = 12000>
<cfset application.maplevel[5] = 6000>
<cfset application.maplevel[6] = 2000>
<cfset application.maplevel[7] = 1000>

<cfset application.mapw = 276>
<cfset application.maph = 248>

<cfset application.startx = 580>
<cfset application.starty = 3080>
<cfset application.startw = "#application.maplevel[1]#">

<!--- Damit die anbieter auch bunte Bilchen ins Netz stellen können --->
<cfset coPicPath = application.GateBuilder.coPicPath>

<!--- Anbieterliste by CB --->
<cfset application.Register_width = 330>
<cfset application.y_offset_row = 36>
<cfset application.y_offset_head = 59>
<cfset application.max_rows_per_tab = 49>
<cfset application.max_rows_per_layer = 7>
<cfset application.Adressen_Cutoff = 50>
<cfset application.Anbieter_Cutoff = 35>

<!--- News-Cache Directory --->
<cfset application.newsCache = "i:\NewsCache\">

<cfsetting enablecfoutputonly="NO">


usw....

Gruss Peter

Antworten
Icon Forum RE: Das Beispiel drs.online (solala, 23.09.2001 22:08)

Bitte melden Sie sich kostenlos an, um eine Antwort auf diesen Beitrag zu erstellen.


Das deutsche ColdFusion-Forum cfml.de ist das Portal für Einsteiger und Experten zum Thema ColdFusion und der ColdFusion Markup Language (CFML).

© 2017 Webdesign & Hosting: CHC ONLINE Kassel | SOLVA Content-Management-System CMS
Urlaub-Angebote.de - Urlaub mit Bestpreis-Garantie buchen