diff --git a/config/init.php b/config/init.php index d9c19bf..78d1f3b 100644 --- a/config/init.php +++ b/config/init.php @@ -17,6 +17,14 @@ die; } + //WEBSITE CONFIG + define('WEBSITE_NAME', "SLD WEB HEALTH CHECK"); + + //SSL CONFIG + define('SSL_WARNING_DAYS', 10); + define('SSL_CRITICAL_DAYS', 5); + + //FOLDERS define("FUNC_FOLD", ROOT_DIR . "functions/"); define("TEMP_FOLD", ROOT_DIR . "template/"); @@ -38,9 +46,7 @@ define("JSON_WEB_LIST", ROOT_DIR . "web_list.json"); define("JSON_WEB_CHECK", ROOT_DIR . "web_check.json"); - //SSL CONFIG - define('SSL_WARNING_DAYS', 10); - define('SSL_CRITICAL_DAYS', 5); + include(MAIN_FUNCTION); diff --git a/template/header.php b/template/header.php index e657986..486e7ca 100644 --- a/template/header.php +++ b/template/header.php @@ -12,6 +12,6 @@
-

SLD WEB HEALTH CHECK

+

\ No newline at end of file