Description
This function checks whether Microsoft® FrontPage® is enabled.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Notes:
- In cPanel & WHM version 11.44, if you uninstalled FrontPage extensions, or if FrontPage was never installed on the server, the server will ignore all FrontPage settings.
- In cPanel & WHM version 11.46 and later, FrontPage extensions are no longer supported. These functions willonly return
'not installed'
or an error message.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Input |
Type |
Description |
Possible values |
Example |
domain |
string |
Required The domain. |
A valid domain on the cPanel account. |
example.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
fpenabled |
boolean |
Whether Frontpage is enabled. |
|
1 |
reason |
string |
A reason for failure. Note: This function only returns a reasonvalue if there was an error. |
A string that describes the error. |
This is an error message. |
result |
boolean |
Whether the function succeeded. |
|
1 |