Index.php

Permalink
Help! While attempting to correct a problem under file manager, I deleted the index.php file. Now I can't even access the site login screen. How can I add or restore?

 
JohntheFish replied on at Permalink Reply
JohntheFish
1. Download a new zip of the appropriate concrete5 version and extract just the file you need, then copy it to the appropriate location.

or

2. Restore the deleted file from a backup.
jvansanten replied on at Permalink Best Answer Reply
For the main index.php file, over the past several versions, it's pretty simple and consistent:

Copy the following into an editor and save.

<?php 
require('concrete/dispatcher.php');
jeanenyeart replied on at Permalink Reply
You're right. This was an easy fix. Thank you very much!