Actions
Feature #19308
closedEnhance and fix tslib_eidtools
Start date:
2008-09-10
Due date:
% Done:
0%
Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
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)
Files
Actions