first commit

This commit is contained in:
2026-04-24 15:32:21 +02:00
commit 20d40fead4
5046 changed files with 641038 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
/**
* Description of Enviromentclass
*
* @author Pawel
*/
class Enviroment {
public static function CheckMagicQuotes() {
return get_magic_quotes_gpc();
}
public static function CheckSoapClient() {
if(class_exists('SoapClient')) {
return true;
} else {
return false;
}
}
public static function CheckGDSupport() {
if (extension_loaded('gd') && function_exists('gd_info')){
return true;
} else {
return false;
}
}
public static function CheckMemcache() {
if(class_exists('Memcache')) {
return true;
} else {
return false;
}
}
}
?>