* Fix regression with default lock file and cache directories; threw visible
warning with open_basedir
This commit is contained in:
parent
6274a91b44
commit
fcd353ad19
3 changed files with 14 additions and 2 deletions
3
HISTORY
3
HISTORY
|
|
@ -461,6 +461,9 @@ setting since version 1.2.0. If you have it on, turn it *off* if you can.
|
|||
* (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
|
||||
* (bug 7667) allow XHTML namespaces customization
|
||||
* (bug 8531) Correct local name of Lingála (patch by Raymond)
|
||||
* Fix regression with default lock file and cache directories; threw visible
|
||||
warning with open_basedir
|
||||
|
||||
|
||||
== 1.8 Compatibility changes ==
|
||||
|
||||
|
|
|
|||
|
|
@ -804,7 +804,12 @@ $wgMaxArticleSize = 2048; # Maximum article size in kilobytes
|
|||
$wgExtraSubtitle = '';
|
||||
$wgSiteSupportPage = ''; # A page where you users can receive donations
|
||||
|
||||
$wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
|
||||
/***
|
||||
* If this lock file exists, the wiki will be forced into read-only mode.
|
||||
* Its contents will be shown to users as part of the read-only warning
|
||||
* message.
|
||||
*/
|
||||
$wgReadOnlyFile = false; /// defaults to "{$wgUploadDirectory}/lock_yBgMBwiR";
|
||||
|
||||
/**
|
||||
* The debug log file should be not be publicly accessible if it is used, as it
|
||||
|
|
@ -1102,8 +1107,9 @@ $wgStyleVersion = '42';
|
|||
* Must set $wgShowIPinHeader = false
|
||||
*/
|
||||
$wgUseFileCache = false;
|
||||
|
||||
/** Directory where the cached page will be saved */
|
||||
$wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
|
||||
$wgFileCacheDirectory = false; /// defaults to "{$wgUploadDirectory}/cache";
|
||||
|
||||
/**
|
||||
* When using the file cache, we can store the cached HTML gzipped to save disk
|
||||
|
|
|
|||
|
|
@ -52,6 +52,9 @@ if( $wgMathPath === false ) $wgMathPath = "{$wgUploadPath}/math";
|
|||
if( $wgMathDirectory === false ) $wgMathDirectory = "{$wgUploadDirectory}/math";
|
||||
if( $wgTmpDirectory === false ) $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
|
||||
|
||||
if( $wgReadOnlyFile === false ) $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
|
||||
if( $wgFileCacheDirectory === false ) $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
|
||||
|
||||
require_once( "$IP/includes/AutoLoader.php" );
|
||||
|
||||
wfProfileIn( $fname.'-exception' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue