mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-01 11:00:23 +02:00
Remove unused definitions.
This commit is contained in:
@@ -46,9 +46,6 @@ class Bootstrap {
|
||||
|
||||
define("NAME", "{{pkg.name}}");
|
||||
define("VERSION", "{{pkg.version}}");
|
||||
|
||||
define("BACKEND", "PHP");
|
||||
define("API", true);
|
||||
define("FILE_PREFIX", "_{{pkg.name}}");
|
||||
}
|
||||
|
||||
@@ -74,7 +71,6 @@ class Bootstrap {
|
||||
define("SERVER_NAME", $server_name);
|
||||
define("SERVER_VERSION", $server_version);
|
||||
define("HAS_SERVER", in_array($server_name, array("apache", "lighttpd", "nginx", "cherokee")));
|
||||
define("HAS_WIN_OS", strtolower(substr(PHP_OS, 0, 3)) === "win");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user