Signed-off-by: Roland Häder <roland@mxchange.org>
// 2) Try to build it
$languageBasePath = sprintf('%sapplication/%s/language/',
$langInstance->getConfigInstance()->getConfigEntry('base_path'),
// 2) Try to build it
$languageBasePath = sprintf('%sapplication/%s/language/',
$langInstance->getConfigInstance()->getConfigEntry('base_path'),
- $applicationInstance->getAppShortName()
+ // Don't allow any underscores/dashes in application names
+ str_replace(array('_', '-'), array('', ''), $applicationInstance->getAppShortName())