Update magicpath.php

Now partial returns relative path