connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false)) { if (file_exists('zc_install/index.php')) { header('location: zc_install/index.php'); exit; } elseif (file_exists($down_for_maint_source)) { if (defined('HTTP_SERVER') && defined('DIR_WS_CATALOG')) { header('location: ' . HTTP_SERVER . DIR_WS_CATALOG . $down_for_maint_source ); } else { header('location: ' . $down_for_maint_source ); // header('location: mystoreisdown.html'); } exit; } else { exit; } } ?>