add newlines to dcstore.xml file
This commit is contained in:
parent
efc53d8c84
commit
9d4e28e758
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class tweakStores
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
files::putContent($module['root'] . '/dcstore.xml', $content);
|
files::putContent($module['root'] . '/dcstore.xml', str_replace('><', ">\n<", $content));
|
||||||
} catch(Exception $e) {
|
} catch(Exception $e) {
|
||||||
self::$failed[] = $e->getMessage();
|
self::$failed[] = $e->getMessage();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue