Add app.js to preferences

This commit is contained in:
Hadi Nategh 2014-05-30 13:27:39 +00:00
parent 10d7a3f579
commit 265ddfb43f

View File

@ -68,7 +68,7 @@ function get_app_dirs()
{ {
$path = __DIR__ . '/'. $dir; $path = __DIR__ . '/'. $dir;
if (!is_dir($path) || in_array($dir, array('debian','home','doc','..','.svn')) || if (!is_dir($path) || in_array($dir, array('debian','home','doc','..','.svn')) ||
!is_dir($path.'/setup') && $dir != 'setup') continue; !is_dir($path.'/setup') && $dir != 'setup'|| $dir =='felamimail' || $dir =='messenger') continue;
$app_dirs[$dir == '.' ? 'egroupware' : $dir] = $dir; $app_dirs[$dir == '.' ? 'egroupware' : $dir] = $dir;
} }
//error_log(__METHOD__."() returning ".print_r($app_dirs, true)); //error_log(__METHOD__."() returning ".print_r($app_dirs, true));