mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
ignore . and .., as it gives an open_basedir warning, it is no application directory anyway
This commit is contained in:
parent
c46777826f
commit
151b800a5a
@ -448,7 +448,7 @@ class translation
|
||||
$loaded = array();
|
||||
foreach($load_app == 'all-apps' ? scandir(EGW_SERVER_ROOT) : (array)$load_app as $app_dir)
|
||||
{
|
||||
if (!is_dir(EGW_SERVER_ROOT.'/'.$app_dir) ||
|
||||
if ($app_dir[0] == '.' || !is_dir(EGW_SERVER_ROOT.'/'.$app_dir) ||
|
||||
!@file_exists($file=self::get_lang_file($app_dir, $lang)) ||
|
||||
!($f = fopen($file, 'r')))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user