Issue Bug Rejected

#51829TCEmain::log relies on active BE_USER

Stefan Neufeind 09/07/13, 21:56 updated 11/24/15, 21:17

Description

Several developers abuse t3lib_TCEmain and instantiate it also in other
contexts than BE, for which it never was made.
As this breaks several extensions that use it in FE or CLI mode and the
fix is trivial, avoid crashing.

In case logging is enabled but there exists no BE_USER, simply prevent logging.

Reviews 1