[Mediawiki-l] One software for multiple websites

Platonides Platonides at gmail.com
Tue Jan 25 15:30:24 UTC 2011


> As for [1], create a file index.php in your "health" folder with just "<?php echo "hello world"; ?>" and go to http://health.jbdirectory.com/ if you see the "hello world" message, it probably means [1].
> 
> Alexis

You can just place in such index.php
define( 'LOCALSETTINGS', dirname( __FILE__ ) . '/LocalSettings.php' );
chdir('../common mediawiki');
require 'index.php';

And in the LocalSettings at common mediawiki folder:
require 'LOCALSETTINGS';





More information about the MediaWiki-l mailing list