Toggle anti-cross-site protection
site_set_dir_useriniToggle the .user.ini cross-site protection for a website by providing its ID and root path. Use this to enable or disable PHP open_basedir security restrictions.
Instructions
Toggle the .user.ini cross-site protection for a site.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"path": "<path>"
},
"name": "site_set_dir_userini"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Website id. | |
| path | Yes | Website root path. |