psi-4ward/stylepicker4ward — Issue #2: Disable hook in the frontend
Author: aschempp
Created: 2012-02-17 20:41:20+00:00
State: open

Currently if loadDataContainer is executed in the frontend, the style picker will load and inject it's values. To me, this is totally unnecessary. I suggest to exclude the frontend.

````
if (TL_MODE == 'BE')
{
$GLOBALS['TL_HOOKS']['loadDataContainer'] ...
}
````