$buf = preg_replace('#ion/Home\#si', 'ion/index.php', $buf);