diff --git a/checkers/baceChecker.php b/checkers/baceChecker.php new file mode 100644 index 0000000..5e4f688 --- /dev/null +++ b/checkers/baceChecker.php @@ -0,0 +1,20 @@ +name = $name; + $this->description = $description; + $this->status = $status; + } + + public function returnCheckStatus():int { + return 0; + } + public function selfCheck(): void { + + } + + +} \ No newline at end of file diff --git a/index.php b/index.php index 6fe84f0..7e06d0f 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,33 @@ "Unknow", + 1 => "Ok", + 2 => "Error", +); + +for ($i = 0; $i < count($module_list); $i++) { + if ($module_list[$i] == "") { + echo " Error. Modules doesn't deffined". $module_list[$i] .""; + } + else { + echo "". $module_list[$i] .""; + } +} + diff --git a/phpinfo.php b/phpinfo.php new file mode 100644 index 0000000..4e55d95 --- /dev/null +++ b/phpinfo.php @@ -0,0 +1,2 @@ +