mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove platform detection
This commit is contained in:
@@ -76,24 +76,4 @@ class system_server
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return server platform name
|
||||
*
|
||||
* @staticvar string $_system
|
||||
* @return string
|
||||
*/
|
||||
public static function get_platform()
|
||||
{
|
||||
static $_system = NULL;
|
||||
if ($_system === NULL) {
|
||||
$_system = strtoupper(php_uname('s'));
|
||||
|
||||
if ($_system == 'WINDOWS NT') {
|
||||
$_system = 'WINDOWS';
|
||||
}
|
||||
}
|
||||
|
||||
return($_system);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user