I accidentally deleted index.php

I accidentally deleted index.php and I don't have a backup. I don't have a lot of experience with this kind of thing and I'm trying to avoid reinstall.

Is there somewhere where I can just find index.php and place it back into the owncloud folder?

Hi,

the index.php of oC 9.1.1 for example is available here:

https://raw.githubusercontent.com/owncloud/core/v9.1.1/index.php

Replace the "v9.1.1" with the version you have running to get that file