summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
32702da)
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())