diff --git a/public_html/index.php b/public_html/index.php index 86b089572592ee195f750505e3a3328fbc0d562f..76f0bf12fbf73e90d0773a09ea1956133a89b64d 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -1,8 +1,27 @@ <?php +/* + * IML CISERVER :: install check + * + */ +$sApproot=dirname(__DIR__); +if (file_exists($sApproot.'/config/config_custom.php_') && file_exists($sApproot.'/config/inc_user2roles.php')){ header("location: /deployment/all/login/"); +} + +echo ' + <h1>Welcome to the IML CISERVER!</h1> + <p> + It seems you just extracted the sources and try to run the web interface.<br> + Go to app root <code>'.$sApproot.'/config/</code> and create there 2 files from + *.dist.<br> + Then verify <a href="check-config.php">check-config.php</a>. + </p> + ' +; + + // echo '<h1>' . php_uname("n") . '</h1><hr>'; ?> <a href="http://www.iml.unibe.ch/">IML Startseite</a> | -<a href="/deployment/">Deployment</a> | -<a href="http://gitlab.iml.unibe.ch/">Gitlab</a> | +<a href="https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/">Gitlab</a> |