mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix error when loading XML lang file with simplexml_load_file()
This commit is contained in:
parent
7b973d105b
commit
273c95b449
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class LangParser
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load the XML lang file.
|
// Load the XML lang file.
|
||||||
$xml = @simplexml_load_file($filename);
|
$xml = simplexml_load_string(Storage::read($filename));
|
||||||
if ($xml === false)
|
if ($xml === false)
|
||||||
{
|
{
|
||||||
Storage::write($output_filename, '');
|
Storage::write($output_filename, '');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue