#19308Enhance and fix tslib_eidtools
Description
Current implementation of tslib_eidtools has certain flows.
Firsts, it misses a function to initialize $GLOBALS[‘LANG’]. Thus every developer will have to do it manually. The solution is to add such function.
The next problem is that TCA is not available by default in eID. So two new functions are added to include TCA for loaded extensions or include TCA for the particular extension (this will provide extra performance benefits).
Next if eID script uses connectDB and initFeUsers, database connection will be initialized twice. The patch solves the problem.
And finally there is a small performance enhancement by using cached instance of TSFE.
(issue imported from #M9318)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.