issue 72 Sending server environment information after agreement of xe admin user.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8581 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-07-08 07:45:51 +00:00
parent cb13f541e8
commit e0c298d958
7 changed files with 104 additions and 13 deletions

View file

@ -983,7 +983,7 @@
// Create DB Object
$oDB = &DB::getInstance();
// Get a list of downloaded and installed modules
$searched_list = FileHandler::readDir('./modules');
$searched_list = FileHandler::readDir('./modules', '/^([a-zA-Z0-9_-]+)$/');
sort($searched_list);
$searched_count = count($searched_list);
@ -994,6 +994,8 @@
$module_name = $searched_list[$i];
$path = ModuleHandler::getModulePath($module_name);
if(!is_dir(FileHandler::getRealPath($path))) continue;
// Get the number of xml files to create a table in schemas
$tmp_files = FileHandler::readDir($path."schemas", '/(\.xml)$/');
$table_count = count($tmp_files);