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:__anon254
/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);
527 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);
579 SG(request_info).path_translated = r->filename;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c851 if (!SG(request_info).path_translated) {
878 path_len = strlen(SG(request_info).path_translated);
881 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
883 memcpy(path, SG(request_info).path_translated, path_len + 1);
887 path = estrndup(SG(request_info).path_translated, path_len);
1107 request_info.path_translated variable, the latter should
1160 * broken stuff and set path_translated to the cgi script location */
1166 SG(request_info).path_translated = NULL;
1315 char *path_translated = NULL; local
1328 path_translated
1345 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);
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...]
/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.c763 if (!SG(request_info).path_translated) {
784 path_len = strlen(SG(request_info).path_translated);
787 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
789 memcpy(path, SG(request_info).path_translated, path_len + 1);
793 path = estrndup(SG(request_info).path_translated, path_len);
996 request_info.path_translated variable, the latter should
1051 * broken stuff and set path_translated to the cgi script location */
1057 SG(request_info).path_translated = NULL;
1257 char *path_translated = NULL; local
1270 path_translated
1287 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c768 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array);
804 SG(request_info).path_translated,
976 char *path_translated = pblock_findval("script", pb); local
980 if (!path_translated) {
981 path_translated = pblock_findval("path", rq->vars);
1024 SG(request_info).path_translated = path_translated;
1034 file_handle.filename = SG(request_info).path_translated;
1038 fst = request_stat_path(SG(request_info).path_translated, rq);
1056 log_error(LOG_WARN, pblock_findval("fn", pb), sn, rq, "Cannot execute PHP script: %s (File not found)", SG(request_info).path_translated);
[all...]

Completed in 19 milliseconds