We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f6f50 commit 482d167Copy full SHA for 482d167
sapi/nsapi/nsapi.c
@@ -809,6 +809,13 @@ static int php_nsapi_startup(sapi_module_struct *sapi_module)
809
return SUCCESS;
810
}
811
812
+static struct stat* sapi_nsapi_get_stat(TSRMLS_D)
813
+{
814
+ return request_stat_path(
815
+ SG(request_info).path_translated,
816
+ ((nsapi_request_context *)SG(server_context))->rq
817
+ );
818
+}
819
820
static sapi_module_struct nsapi_sapi_module = {
821
"nsapi", /* name */
@@ -822,7 +829,7 @@ static sapi_module_struct nsapi_sapi_module = {
822
829
823
830
sapi_nsapi_ub_write, /* unbuffered write */
824
831
sapi_nsapi_flush, /* flush */
825
- NULL, /* get uid */
832
+ sapi_nsapi_get_stat, /* get uid/stat */
826
833
NULL, /* getenv */
827
834
828
835
php_error, /* error handler */
0 commit comments