Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Child-Name for LANG-attribute in settings.php #38

Closed
GoogleCodeExporter opened this issue Aug 8, 2015 · 1 comment
Closed

Wrong Child-Name for LANG-attribute in settings.php #38

GoogleCodeExporter opened this issue Aug 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

On r104 the xml-handling in settings.php was changed to:

// create new site data file
$ufile = 'website.xml';
createBak($ufile, $path, $bakpath);
$xmls = @new SimpleXMLExtended('<item></item>');
$note = $xmls->addChild('SITENAME');
$note->addCData($SITENAME);
$note = $xmls->addChild('SITEURL');
$note->addCData(@$SITEURL);
$note = $xmls->addChild('TEMPLATE');
$note->addCData(@$TEMPLATE);
$note = $xmls->addChild('TIMEZONE');
$note->addCData(@$TIMEZONE);
$note = $xmls->addChild('TIMEZONE');  ----*******----
$note->addCData(@$LANG);

the marked line should be changed to:
$note = $xmls->addChild('LANG');

Original issue reported on code.google.com by dnies...@googlemail.com on 25 Feb 2010 at 11:10

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r106.

Original comment by ccagle8 on 25 Feb 2010 at 11:31

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant