Searched defs:path_translated (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/main/
H A DSAPI.h87 char *path_translated; member in struct:__anon284
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c416 char *path_translated = lstFset_get(NSG(t->vars), "path"); local
424 SG(request_info).path_translated = capi_strdup(path_translated);
435 capi_free(SG(request_info).path_translated);
447 file_handle.filename = SG(request_info).path_translated;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c764 if (!SG(request_info).path_translated) {
785 path_len = strlen(SG(request_info).path_translated);
788 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
790 memcpy(path, SG(request_info).path_translated, path_len + 1);
794 path = estrndup(SG(request_info).path_translated, path_len);
997 request_info.path_translated variable, the latter should
1052 * broken stuff and set path_translated to the cgi script location */
1058 SG(request_info).path_translated = NULL;
1258 char *path_translated = NULL; local
1271 path_translated
1288 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c259 zval *path_translated; local
286 && (path_translated = zend_hash_str_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME")-1)) != NULL) {
287 php_register_variable("PATH_TRANSLATED", Z_STRVAL_P(path_translated), track_vars_array TSRMLS_CC);
528 SG(request_info).path_translated = r->filename;
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c389 zval **path_translated; local
411 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
412 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
580 SG(request_info).path_translated = r->filename;
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c768 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
804 SG(request_info).path_translated,
976 char *path_translated = pblock_findval("script", pb); local
981 if (!path_translated) {
982 path_translated = pblock_findval("path", rq->vars);
1025 SG(request_info).path_translated = path_translated;
1035 file_handle.filename = SG(request_info).path_translated;
1039 fst = request_stat_path(SG(request_info).path_translated, rq);
1057 log_error(LOG_WARN, pblock_findval("fn", pb), sn, rq, "Cannot execute PHP script: %s (File not found)", SG(request_info).path_translated);
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c837 if (!SG(request_info).path_translated) {
864 path_len = strlen(SG(request_info).path_translated);
867 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
869 memcpy(path, SG(request_info).path_translated, path_len + 1);
873 path = estrndup(SG(request_info).path_translated, path_len);
1093 request_info.path_translated variable, the latter should
1146 * broken stuff and set path_translated to the cgi script location */
1152 SG(request_info).path_translated = NULL;
1301 char *path_translated = NULL; local
1314 path_translated
1331 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c130 char *path_translated; member in struct:php_cli_server_request
710 if (SG(request_info).path_translated) {
711 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", SG(request_info).path_translated TSRMLS_CC);
1360 req->path_translated = NULL;
1383 if (req->path_translated) {
1384 pefree(req->path_translated, 1);
1485 request->path_translated = buf;
1491 request->path_translated = buf;
1806 request_info->path_translated = client->request.path_translated;
[all...]

Completed in 19 milliseconds