X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FgenerateSitemap.php;h=bed84a811b82ece34e2cfe432a2088ca3bc503a3;hb=99d73dc9033603b03198f84854e9a5078bde89b8;hp=26a9c399354a66657f3e8f82a5435999f6de2de0;hpb=fc5af1cb1c6fe7516fa045c90187d7def05223ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index 26a9c39935..bed84a811b 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -182,7 +182,7 @@ class GenerateSitemap extends Maintenance { # Create directory if needed $fspath = $this->getOption( 'fspath', getcwd() ); if ( !wfMkdirParents( $fspath, null, __METHOD__ ) ) { - $this->error( "Can not create directory $fspath.", 1 ); + $this->fatalError( "Can not create directory $fspath." ); } $this->fspath = realpath( $fspath ) . DIRECTORY_SEPARATOR;