USING MIG WITH PHP-NUKE

Mig has a ``PHP-Nuke Compatible'' mode which you can use to merge Mig into your PHP-Nuke-based site. If you don't know what PHP-Nuke is, you probably don't need to continue reading this file.

PHP-Nuke information can be found at http://www.phpnuke.org/

(PHP-Nuke mode has not been tested with PHP-Nuke 5.x. I have no idea if it will work - use at you own risk).

Please read docs/INSTALL and then apply the following changes.

1. When the install script asks if you want to use PHP-Nuke, answer ``y''.

2. It will then make a few adjustments to customize to fit the PHP-Nuke way of doing things.

3. When the install is finished, you will have a subdirectory mig in your main PHP-Nuke site directory. Everything related to Mig is stored in that subdirectory, with one exception: mig.php. That is the script you will point to when linking to Mig. It then loads the rest of its code from the mig subdirectory. That is done to make things cleaner so Mig doesn't litter files all over your PHP-Nuke base directory.

4. You will need to copy the config.php.default sample configuration from the mig subfolder into your PHP-Nuke root directory and call it config.php. In other words:

    cd {php-nuke-root-directory}
    cp mig/config.php.default ./config.php
    vi config.php

5. The config.php file should already have the two things you absolutely need ($phpNukeCompatible and $phpNukeRoot). Tune the other parameters to whatever you see fit.

Make sure you can write to your phpNuke directory when installing. If not, su to root, or log in as the user who owns the site prior to running the install program.