Issue Bug Closed

#19559AdminPanel shows superfluous "Include file class.tx_whatever_pi1.php" messages

Oliver Hader 11/03/08, 11:58 updated 09/09/13, 10:20

Description

The AdminPanel shows superfluous “Include file class.tx_whatever_pi1.php” messages even if the file was included before. That’s not a real problem, since the file itself gets included by PHP’s “include_once” and will be only loaded once. But the information in the AdminPanel can be improved.

For USER_INT objects the flow is like the following:
  • cObj: push object information to $GLOBALS[‘TSFE’]->config[‘INTincScript’] (with includeLibs configuration)
  • TSFE: post-process objects and load files of includeLibs configuration
  • TSFE: recall cObj->USER as “USER” object (not “USER_INT”) anymore
  • cObj: includeLibs is found again and information of “File inclusions” is shown

Solution:
a) remove includeLibs before passing again to cObj
b) track what files have been included before (but takes much longer)

(issue imported from #M9722)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.