|
|
@ -88,25 +88,52 @@ if (defined('SYSTEM_INSTALLATION')) { |
|
|
|
); |
|
|
|
); |
|
|
|
$filesToDelete = array( |
|
|
|
$filesToDelete = array( |
|
|
|
'accessibility', |
|
|
|
'accessibility', |
|
|
|
|
|
|
|
'admin', |
|
|
|
'agenda', |
|
|
|
'agenda', |
|
|
|
'announcements', |
|
|
|
'announcements', |
|
|
|
|
|
|
|
'blog', |
|
|
|
'chat', |
|
|
|
'chat', |
|
|
|
|
|
|
|
'coursebackup', |
|
|
|
'course_description', |
|
|
|
'course_description', |
|
|
|
'course_home', |
|
|
|
'course_home', |
|
|
|
|
|
|
|
'course_info', |
|
|
|
|
|
|
|
'courses', |
|
|
|
|
|
|
|
'create_course', |
|
|
|
|
|
|
|
'document', |
|
|
|
|
|
|
|
'dropbox', |
|
|
|
|
|
|
|
'exercice', |
|
|
|
'external_module', |
|
|
|
'external_module', |
|
|
|
|
|
|
|
'forum', |
|
|
|
'glossary', |
|
|
|
'glossary', |
|
|
|
|
|
|
|
'gradebook', |
|
|
|
|
|
|
|
'group', |
|
|
|
|
|
|
|
'help', |
|
|
|
'import', |
|
|
|
'import', |
|
|
|
|
|
|
|
'index', |
|
|
|
|
|
|
|
'learnpath', |
|
|
|
|
|
|
|
'link', |
|
|
|
|
|
|
|
'md_document', |
|
|
|
'md_link', |
|
|
|
'md_link', |
|
|
|
'md_mix', |
|
|
|
'md_mix', |
|
|
|
|
|
|
|
'md_scorm', |
|
|
|
'messages', |
|
|
|
'messages', |
|
|
|
'myagenda', |
|
|
|
'myagenda', |
|
|
|
'notebook', |
|
|
|
'notebook', |
|
|
|
|
|
|
|
'notification', |
|
|
|
|
|
|
|
'registration', |
|
|
|
|
|
|
|
'reservation', |
|
|
|
'pedaSuggest', |
|
|
|
'pedaSuggest', |
|
|
|
'resourcelinker', |
|
|
|
'resourcelinker', |
|
|
|
'scorm', |
|
|
|
'scorm', |
|
|
|
'scormbuilder', |
|
|
|
'scormbuilder', |
|
|
|
'scormdocument', |
|
|
|
'scormdocument', |
|
|
|
'slideshow', |
|
|
|
'slideshow', |
|
|
|
|
|
|
|
'survey', |
|
|
|
|
|
|
|
'tracking', |
|
|
|
|
|
|
|
'userInfo', |
|
|
|
|
|
|
|
'videoconf', |
|
|
|
|
|
|
|
'wiki', |
|
|
|
|
|
|
|
'work', |
|
|
|
); |
|
|
|
); |
|
|
|
$list = scandir($langPath); |
|
|
|
$list = scandir($langPath); |
|
|
|
foreach ($list as $entry) { |
|
|
|
foreach ($list as $entry) { |
|
|
|