Files
Testing/arrowchat/index.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

31 lines
1.1 KiB
PHP

<?php
/*
|| #################################################################### ||
|| # ArrowChat # ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2010-2020 ArrowSuites LLC. All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- ARROWCHAT IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.arrowchat.com | http://www.arrowchat.com/license/ # ||
|| #################################################################### ||
*/
// Redirect to install if the installation hasn't been completed or admin if it has
if (!file_exists("includes" . DIRECTORY_SEPARATOR . "config.php"))
{
if (file_exists("install" . DIRECTORY_SEPARATOR . "index.php"))
{
header("Location: " . "install" . DIRECTORY_SEPARATOR);
}
else
{
echo "We have detected that ArrowChat installer has not been run, but there is no install directory";
}
}
else
{
header("Location: " . "admin" . DIRECTORY_SEPARATOR);
}
?>