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!

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.