Sorcerer's IsleCode QueryParam Scanner / files

 1component
 2{
 3
 4
 5	function intro(rc)
 6	{
 7		rc.Title = 'Start';
 8
 9		if ( NOT StructKeyExists(rc,'StartingDir') )
10			rc.StartingDir = Application.Cfcs.Settings.findHomeDirectory();
11	}
12
13
14	function config(rc)
15	{
16		rc.Title = 'Configuration';
17
18		if ( NOT StructKeyExists(rc,'Config') )
19			rc.Config = "default";
20
21		rc.Setting = Application.Cfcs.Settings.read( ConfigId:rc.Config , Format:'query' );
22	}
23
24
25	function error(rc)
26	{
27		request.layout = rc.OutputFormat EQ 'html';
28	}
29
30
31}