Use '-' instead of '_' in folder names

namespaces
Svein-Tore Griff With 2013-04-13 15:03:04 +02:00
parent 995e56cf60
commit 1cb36af66e
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ class H5PCore {
* On the form {machineName} {majorVersion}.{minorVersion}
*/
public function libraryToString($library, $folderName = FALSE) {
return $library['machineName'] . ($folderName ? '_' : ' ') . $library['majorVersion'] . '.' . $library['minorVersion'];
return $library['machineName'] . ($folderName ? '-' : ' ') . $library['majorVersion'] . '.' . $library['minorVersion'];
}
}
?>