Updated core.php: now the core can figure out what its rootpath is by
itself :)