base\Request setScriptFile()

setScriptFile() public method

Sets the entry script file path.

The entry script file path can normally be determined based on the SCRIPT_FILENAME SERVER variable. However, for some server configurations, this may not be correct or feasible. This setter is provided so that the entry script file path can be manually specified.

public void setScriptFile ( $value )
$value string

The entry script file path. This can be either a file path or a path alias.

throws yii\base\InvalidConfigException

if the provided entry script file path is invalid.

doc_Yii
2016-10-30 16:52:15
Comments
Leave a Comment

Please login to continue.