{
wsPackager::package(16200, 'win-exe-html');
}
+
+ public static function gpu()
+ {
+ global $core;
+ $r = $core->con->select('SELECT DISTINCT rgpu FROM gpu_log');
+ while ($r->fetch()) {
+ echo $r->rgpu . ' : <b>' . file_get_contents('https://workshop.fluidbook.com/services/gup?gup=' . base64_encode($r->rgpu)) . '</b><br>';
+ }
+ }
}
$this->outputXML = false;
- $gpu = base64_decode($_GET['gup']);
- if (preg_match('/\(([^\)]*)\)/', $gpu, $matches)) {
- if (strlen($matches[1]) > 8) {
- $gpu = $matches[1];
+ $rgpu = $gpu = trim(base64_decode($_GET['gup']));
+
+ if (strstr($gpu, 'ANGLE (')) {
+ if (preg_match('/\((.*)\)/', $gpu, $matches)) {
+ if (strlen($matches[1]) > 8) {
+ $gpu = $matches[1];
+ }
}
- }
- $version = 40;
- $split = self::gpuSeparators();
+ $split = self::gpuSeparators();
- foreach ($split as $item) {
- $e = explode($item, $gpu);
- if (count($e) > 1) {
- $gpu = $e[0];
- break;
+ foreach ($split as $item) {
+ $e = explode($item, $gpu);
+ if (count($e) > 1) {
+ $gpu = $e[0];
+ break;
+ }
}
}
+ $version = 40;
+
+
$gpu = trim($gpu);
- $rgpu = trim(base64_decode($_GET['rgup']));
$c = $core->con->openCursor('gpu_log');
$c->gpu = $gpu;