X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fscripts.txt;h=53dff36e42f2bcaba94ac261f190053bc106b257;hb=c92dd025f1d3d2a1e2a18e1c8f8aff85860c1b45;hp=c6fa674cec85e9843ed8636f404235acca36aa4f;hpb=b88d4628dcde8babb4990fc4f622673e3f275650;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/scripts.txt b/docs/scripts.txt index c6fa674cec..53dff36e42 100644 --- a/docs/scripts.txt +++ b/docs/scripts.txt @@ -34,7 +34,7 @@ Primary scripts: To save the profiling information in the database (required to use this script), you have to modify StartProfiler.php to use the Profiler class and not the stub profiler which is enabled by default. - You will also need to set $wgProfileToDatabase to true in LocalSettings.php + You will also need to set $wgProfiler['output'] to 'db' in LocalSettings.php to force the profiler to save the informations in the database and apply the maintenance/archives/patch-profiling.sql patch to the database. @@ -49,7 +49,4 @@ Primary scripts: There is also a file with a .php5 extension for each script. They can be used if the web server needs a .php5 to run the file with the PHP 5 engine and runs .php -scripts with PHP 4. To use these files, you have to modify $wgScriptExtension to -'.php5' is LocalSettings.php but it is already done by the config script if you -used mw-config/index.php5 for installation. - +scripts with PHP 4. You should not use them anymore.