mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 09:30:06 +00:00
FancyCaptcha: Add missing trailing /
Bug: T355962 Change-Id: Id266aa5671550410b570da41b1ccdc537752aa16 Depends-On: Iecc48db5237adc5b89c99019faac0af425e4eb5d
This commit is contained in:
parent
9625c91e18
commit
db932b2ae2
|
@ -426,7 +426,7 @@ class FancyCaptcha extends SimpleCaptcha {
|
|||
public function imagePath( $salt, $hash ) {
|
||||
global $wgCaptchaDirectoryLevels;
|
||||
|
||||
$file = $this->getBackend()->getRootStoragePath() . '/' . $this->getStorageDir();
|
||||
$file = $this->getBackend()->getRootStoragePath() . '/' . $this->getStorageDir() . '/';
|
||||
for ( $i = 0; $i < $wgCaptchaDirectoryLevels; $i++ ) {
|
||||
$file .= $hash[ $i ] . '/';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue