CGI_LoadConfigFile

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > CGI >

CGI_LoadConfigFile

 

Description

 

Loads an alternative CGI configuration from a specified file.

 

Syntax

 

n = CGI_LoadConfigFile(sFile)

 

Returns

 

Returns a Number

A zero value if the function fails, nonzero in case of success.

 

Parameters

 

Name

Type

Optional

Meaning

sFile

String

No

Full path name of a configuration file

 

Remarks

 

If log is enable the new configuration is recorded into the log.

 

Restrictions

 

 

See also

 

CGI_CfgGetOption, CGI_CfgSetOption, thinBasicCGI.config, thinBasicCGI.log

 

Examples

 

CGI_LoadConfigFile("\Web\Web1\web1.xml")