Changes

Jump to navigation Jump to search
PRE LocalSettings.php
$wikiId = 'wiki'; // wiki or meta
echo "// begin POST PRE LOCAL SETTINGS content\n\n";
# (1) Load all PHP files in postLocalSettingspreLocalSettings.d for all wikisecho "// dumping contents of global postLocalSettingspreLocalSettings.d\n\n";foreach ( glob("$m_deploy/public/postLocalSettingspreLocalSettings.d/*.php") as $filename) {
echo "// begin contents of $filename\n";
print file_get_contents($filename);
echo "// end contents of $filename\n\n";
}
# (2) Load all PHP files in postLocalSettingspreLocalSettings.d for this wikiecho "// dumping contents of postLocalSettingspreLocalSettings.d for $wikiId\n\n";foreach ( glob("$m_deploy/public/wikis/$wikiId/postLocalSettingspreLocalSettings.d/*.php") as $filename) {
echo "// begin contents of $filename\n";
print file_get_contents($filename);
}
echo "// end of POST PRE LOCAL SETTINGS\n";
</syntaxhighlight>

Navigation menu