This commit is contained in:
Shoghi Cervantes 2014-11-01 12:40:45 +01:00
parent d5012f6fcf
commit 13fc0df92c

View File

@ -59,7 +59,7 @@ class Utils{
*/
public static function getUniqueID($raw = false, $extra = ""){
$machine = php_uname("a");
$machine .= file_exists("/proc/cpuinfo") ? `cat /proc/cpuinfo | grep "model name"`: "";
$machine .= file_exists("/proc/cpuinfo") ? implode(preg_grep("/model name/", file("/proc/cpuinfo"))): "";
$machine .= sys_get_temp_dir();
$machine .= $extra;
$os = Utils::getOS();