DB MAINTENANCE MOD 1.3.1
(c) 2003-2005 by Philipp Kordowich
Visit http://phpbb.kordowich.net/ for updates


Instruction for use with phpBB-versions before 2.0.4
----------------------------------------------------
This mod was developed for usage with phpBB 2.0.4 up to 2.0.10. All other versions are unsupported. Maybe this workaround may help you getting it work with earlyer versions anyway. Please keep in mind when appling the workaround that the mod was only tested with phpBB 2.0.4 and there is no guaranty that it will work faultless on any other versions.

Workaround
----------
To get ths mod work in earlyer versions of phpBB, the phpbb_realpath-function has to be backported from phpBB 2.0.4.
To do so, open includes/functions.php, go to the end of the file and add the following four lines just before the closing php-tag (?>):

function phpbb_realpath($path)
{
	global $phpbb_root_path, $phpEx;

	return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
}

Acknowledgments
---------------
Thanks to Acid for pointing me to this problem.