Merge "Add (hacky) check for webm audio files"
[lhc/web/wiklou.git] / maintenance / mwdocgen.php
index d005629..43041a4 100644 (file)
@@ -105,7 +105,7 @@ class MWDocGen extends Maintenance {
                        $this->excludePatterns[] = 'extensions';
                }
 
-               $this->doDot = `which dot`;
+               $this->doDot = shell_exec( 'which dot' );
                $this->doMan = $this->hasOption( 'generate-man' );
        }