-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
I know v1.0.0 is not out yet, but I have been playing with it a little. I'd suggest that you redirect users to the /install url if the app is not yet configured.
The easiest way I know of to do that is to test for the existance of the includes/config.php file and, if not found send a redirect. This can be done by placing the following lines as the first lines of /index.php
<?php
if (!file_exists(__DIR__.'/includes/config.php')) {
header('Location: /install', true, 303);
die();
}
?>