check platform

This commit is contained in:
root
2023-05-12 15:21:25 +00:00
parent bb7c865cc3
commit 37d2697096
10 changed files with 49 additions and 30 deletions
-1
View File
@@ -21,7 +21,6 @@ function getpath()
if ($p>0) $path = substr($_SERVER['REQUEST_URI'], 0, $p);
else $path = $_SERVER['REQUEST_URI'];
$path = path_format( substr($path, strlen($_SERVER['base_path'])) );
$_SERVER['DOCUMENT_ROOT'] = '/var/task/user';
return $path;
}