dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
167d11a
)
(bug 17366) fix for r46840: Xml::encodeJsVar() already escapes and quotes $conf-...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 5 Feb 2009 11:59:02 +0000
(11:59 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 5 Feb 2009 11:59:02 +0000
(11:59 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
b1485c0
..
83ead15
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-1544,7
+1544,7
@@
if( count( $errs ) ) {
</div>
</form>
<script type="text/javascript">
-window.onload = toggleDBarea(
'<?php echo htmlspecialchars( Xml::encodeJsVar( $conf->DBtype ) ); ?>'
,
+window.onload = toggleDBarea(
<?php echo Xml::encodeJsVar( $conf->DBtype ); ?>
,
<?php
## If they passed in a root user name, don't populate it on page load
echo strlen(importPost('RootUser', '')) ? 0 : 1;