URLHelperIsSystemPath Method |
Returns true if the given path is a system path. The path is expected to be lowercase and start with slash, e.g. "/cmsmodules/..."
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static bool IsSystemPath(
string path,
bool codeFolders,
bool virtualFolders,
bool specialFolders,
bool cmsPages
)
Parameters
- path
- Type: SystemString
path to check - codeFolders
- Type: SystemBoolean
Check code folders - virtualFolders
- Type: SystemBoolean
Check virtual folders - specialFolders
- Type: SystemBoolean
Special folders - cmsPages
- Type: SystemBoolean
Special CMS pages
Return Value
Type:
BooleanSee Also