Issue Bug Closed

#29166Streamline Handling of Prefixes in the Core

Susanne Moog 08/22/11, 17:53 updated 03/07/12, 13:38

Description

At the moment the frontend option userFuncClassPrefix is also checked in various backend scenarios (for example the registry) and in general everywhere t3lib_div::hasValidPrefix is called. Therefore it should be a system option. Additionally to ensure “user_” is working as a prefix this was given hardcoded as additionalPrefix to the function in some cases.

This patch streamlines the handling of prefixes, introduces a [SYS] option userFuncClassPrefix, deprecates the [FE] option and allows the prefixes ‘user_’ and ‘User_’ by default.

Reviews 1