Scans a given plugin directory and places the found plugins into the array $cfg['plugins'].
Result: $cfg['plugins']['frontendusers'] => array with all found plugins
Note: Plugins are only "found" if the following directory structure if found:
entity/ plugin1/plugin1.php plugin2/plugin2.php
The plugin's directory and file name have to be the same, otherwise the function won't find them!
Copyright: four for business AG <www.4fb.de>
Author: Jan Lengowski
Located at includes/functions.general.php
||Name of the directory to scan|