Bug #22594 » BUGFIX-14313.patch
t3lib/class.t3lib_div.php | ||
---|---|---|
// Check prefix is valid:
|
||
if ($checkPrefix &&
|
||
!self::isFirstPartOfStr(trim($funcRef), $checkPrefix) &&
|
||
!self::isFirstPartOfStr(trim($funcRef), 'tx_')
|
||
!self::isFirstPartOfStr(strtolower(trim($funcRef)), 'tx_')
|
||
) {
|
||
$errorMsg = "Function/class '$funcRef' was not prepended with '$checkPrefix'";
|
||
if ($errorMode == 2) {
|
- « Previous
- 1
- 2
- Next »