/** * @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.'/lib/ac_common.php'; \Noalyss\Dbg::echo_file(__FILE__); if ( DEBUGNOALYSS > 1 ) { /** * Debug Design */ \Noalyss\Dbg::display_size(); \Noalyss\Dbg::display_request(); \Noalyss\Dbg::display_global(); } //<--- if DEBUG MaintenanceMode("block.html"); 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... '; } ?>