meme
This commit is contained in:
parent
b214136de3
commit
21dda105b2
@ -1,20 +0,0 @@
|
|||||||
<?php
|
|
||||||
abstract class Checker
|
|
||||||
{
|
|
||||||
public $name, $description, $status;
|
|
||||||
|
|
||||||
public function __construct($name, $description, $status){
|
|
||||||
$this->name = $name;
|
|
||||||
$this->description = $description;
|
|
||||||
$this->status = $status;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function returnCheckStatus():int {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
public function selfCheck(): void {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
10
checkers/php-igbinary.php
Normal file
10
checkers/php-igbinary.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
if (!extension_loaded('igbinary'))
|
||||||
|
{
|
||||||
|
echo '<p style="color:red">Module: igbinary doesn\' loaded</p>';
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
echo '<p style="color:green">Module: igbinary is loaded</p>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ for ($i = 0; $i < count($module_list); $i++) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo '<p>'. $module_list[$i] .":";
|
echo '<p>'. $module_list[$i] .":";
|
||||||
echo '<a href="\\'. $module_list[$i] .'.php\">' . 'Тык </a>' . `</[>`;
|
echo '<a href="\checkers\\'. $module_list[$i] .'.php">' . 'Тык </a>' . `</[>`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user