mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 06:25:18 -04:00
Changes some API things.
This commit is contained in:
parent
811994423d
commit
a60d5556af
13 changed files with 36 additions and 33 deletions
|
@ -292,7 +292,7 @@ class App {
|
|||
|
||||
return array(
|
||||
"backend" => "php",
|
||||
"apiHref" => $this->app_abs_href . "server/php/api.php",
|
||||
"api" => true,
|
||||
"name" => strtolower(preg_replace("/\\/.*$/", "", getenv("SERVER_SOFTWARE"))),
|
||||
"version" => strtolower(preg_replace("/^.*\\//", "", preg_replace("/\\s.*$/", "", getenv("SERVER_SOFTWARE"))))
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue