From: Erik Bernhardson Date: Fri, 14 Nov 2014 19:00:36 +0000 (-0800) Subject: Doc: Mention the php command in autoload.php to regenerate it X-Git-Tag: 1.31.0-rc.0~13275 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=5711d811262421cac77207d9d3fb62d4d9f52855;p=lhc%2Fweb%2Fwiklou.git Doc: Mention the php command in autoload.php to regenerate it Adds a comment to the top of the generated autoload.php directing developers to the command to regenerate the file so they may just copy and paste the command. Change-Id: If098a1eb51ed732378677215c0e438c73d506697 --- diff --git a/autoload.php b/autoload.php index c5fc22c3ef..488f9ddf9a 100644 --- a/autoload.php +++ b/autoload.php @@ -1,5 +1,5 @@ basepath . '/autoload.php', <<variableName}; diff --git a/maintenance/generateLocalAutoload.php b/maintenance/generateLocalAutoload.php index 5e4cac6fe3..b8caa4d93f 100644 --- a/maintenance/generateLocalAutoload.php +++ b/maintenance/generateLocalAutoload.php @@ -21,5 +21,5 @@ foreach ( glob( $base . '/*.php' ) as $file ) { $generator->forceClassPath( 'MyLocalSettingsGenerator', "$base/mw-config/overrides.php" ); // Write out the autoload -$generator->generateAutoload(); +$generator->generateAutoload( 'maintenance/generateLocalAutoload.php' );