Project

General

Profile

Actions

Feature #19308

closed

Enhance and fix tslib_eidtools

Added by Dmitry Dulepov about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
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

9318.diff (5.19 KB) 9318.diff Administrator Admin, 2008-09-10 09:08
9318_v3.diff (5.68 KB) 9318_v3.diff Administrator Admin, 2008-09-13 16:41
Actions #1

Updated by Dmitry Dulepov about 16 years ago

NEWS.txt is also updated

Actions

Also available in: Atom PDF