Fixed automatic $config['root'] detection with mod.php