/** * @file * @brief This file is used for the first installation or redirect to * include/admin.inc.php */ if (file_exists("../include/config.inc.php") ) { /* if the file exists it means that NOALYSS is already * installed */ define ('ALLOWED',1); define ('ALLOWED_ADMIN',1); require_once '../include/constant.php'; require_once NOALYSS_INCLUDE.'/admin_repo.inc.php'; } else { // Redirect to install file , if this file exists then // we can't connect to anything echo ' Connecting... '; } ?>