dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SECURITY: Work around PHP bug in parse_url
[lhc/web/wiklou.git]
/
includes
/
installer
/
SqliteInstaller.php
diff --git
a/includes/installer/SqliteInstaller.php
b/includes/installer/SqliteInstaller.php
index
d5909f4
..
6f16872
100644
(file)
--- a/
includes/installer/SqliteInstaller.php
+++ b/
includes/installer/SqliteInstaller.php
@@
-160,9
+160,9
@@
class SqliteInstaller extends DatabaseInstaller {
# Called early on in the installer, later we just want to sanity check
# if it's still writable
if ( $create ) {
# Called early on in the installer, later we just want to sanity check
# if it's still writable
if ( $create ) {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$ok = wfMkdirParents( $dir, 0700, __METHOD__ );
$ok = wfMkdirParents( $dir, 0700, __METHOD__ );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
if ( !$ok ) {
return Status::newFatal( 'config-sqlite-mkdir-error', $dir );
}
if ( !$ok ) {
return Status::newFatal( 'config-sqlite-mkdir-error', $dir );
}
@@
-321,7
+321,7
@@
EOT;
return "# SQLite-specific settings
\$wgSQLiteDataDir = \"{$dir}\";
\$wgObjectCaches[CACHE_DB] = [
return "# SQLite-specific settings
\$wgSQLiteDataDir = \"{$dir}\";
\$wgObjectCaches[CACHE_DB] = [
- 'class' =>
'SqlBagOStuff'
,
+ 'class' =>
SqlBagOStuff::class
,
'loggroup' => 'SQLBagOStuff',
'server' => [
'type' => 'sqlite',
'loggroup' => 'SQLBagOStuff',
'server' => [
'type' => 'sqlite',