This commit is contained in:
2021-09-24 17:22:02 +08:00
parent 0aafbb03e2
commit dbc30827f8
86 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -34,12 +34,13 @@
},
"autoload": {
"psr-4": {
"Kiri\\": "core/",
"Kiri\\": "kiri-core/",
"Http\\Message\\": "http-message/",
"Http\\Coroutine\\": "http-coroutine/",
"Http\\Handler\\": "http-handler/",
"Server\\": "http-server/",
"Gii\\": "kiri-gii/",
"Annotation\\": "note/"
"Annotation\\": "kiri-note/"
},
"files": [
"error.php",
+2 -2
View File
@@ -593,7 +593,7 @@ class Kiri
return;
}
static::$_autoload[$class] = $file;
include_once "$file";
include_once "Kiri.php";
}
@@ -606,7 +606,7 @@ class Kiri
return;
}
$file = static::$_autoload[$className];
require_once "$file";
require_once "Kiri.php";
}