Home
last modified time | relevance | path

Searched refs:path_translated (Results 1 – 25 of 32) sorted by path

12

/PHP-5.5/
H A DNEWS9866 - Fixed bug #31514 (open_basedir uses path_translated rather then cwd for .
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c731 file_handle->filename == SG(request_info).path_translated) { in zend_get_file_handle_timestamp()
1484 file_handle->filename == SG(request_info).path_translated &&
1906 filename == SG(request_info).path_translated) ||
1971 filename == SG(request_info).path_translated) ||
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated || in validate_api_restriction()
92 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
/PHP-5.5/ext/session/
H A Dsession.c1181 path = SG(request_info).path_translated;
/PHP-5.5/main/
H A DSAPI.c1005 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
H A DSAPI.h87 char *path_translated; member
H A Dfopen_wrappers.c403 filename = SG(request_info).path_translated;
426 filename = SG(request_info).path_translated;
435 if (SG(request_info).path_translated != filename) {
442 STR_FREE(SG(request_info).path_translated);
443 SG(request_info).path_translated = NULL;
452 if (SG(request_info).path_translated != filename) {
455 STR_FREE(SG(request_info).path_translated); /* for same reason as above */
456 SG(request_info).path_translated = NULL;
461 if (SG(request_info).path_translated != filename) {
463 SG(request_info).path_translated = filename;
[all …]
H A Dmain.c1417 …ame, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1462 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1464 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1538 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1849 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
/PHP-5.5/sapi/aolserver/
H A Daolserver.c353 ADD_STRINGX("PATH_TRANSLATED", SG(request_info).path_translated); in php_ns_sapi_register_variables()
410 file_handle.filename = SG(request_info).path_translated; in php_ns_module_main()
448 SG(request_info).path_translated = safe_strdup(Ns_DStringValue(&ds)); in php_ns_request_ctor()
451 SG(request_info).request_uri = strdup(SG(request_info).path_translated + strlen(root)); in php_ns_request_ctor()
482 free(SG(request_info).path_translated); in php_ns_request_dtor()
/PHP-5.5/sapi/apache/
H A Dmod_php5.c259 zval **path_translated; in sapi_apache_register_server_variables() local
286 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables()
287 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables()
528 SG(request_info).path_translated = r->filename; in init_request_info()
H A Dsapi_apache.c43 …if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC) != SUCCESS… in apache_php_module_main()
49 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c412 SG(request_info).path_translated = safe_strdup(f->r->filename); in php_apache_request_ctor()
453 if (SG(request_info).path_translated) { in php_apache_request_dtor()
454 free(SG(request_info).path_translated); in php_apache_request_dtor()
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c482 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c389 zval **path_translated; in sapi_apache_register_server_variables() local
411 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables()
412 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables()
580 SG(request_info).path_translated = r->filename; in init_request_info()
H A Dsapi_apache.c42 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC)){ in apache_php_module_main()
50 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
/PHP-5.5/sapi/caudium/
H A Dcaudium.c499 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, in low_sapi_caudium_register_variables()
614 SG(request_info).path_translated = in php_caudium_module_main()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c837 if (!SG(request_info).path_translated) {
1152 SG(request_info).path_translated = NULL;
1301 char *path_translated = NULL; local
1324 efree(path_translated);
1331 char *path_translated = NULL; local
1334 memcpy(path_translated, pt, ptlen);
1343 efree(path_translated);
1906 SG(request_info).path_translated = NULL;
2255 STR_FREE(SG(request_info).path_translated);
2264 STR_FREE(SG(request_info).path_translated);
[all …]
/PHP-5.5/sapi/cli/
H A Dphp_cli.c961 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename; in do_cli()
H A Dphp_cli_server.c129 char *path_translated; member
785 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1417 req->path_translated = NULL; in php_cli_server_request_ctor()
1440 if (req->path_translated) { in php_cli_server_request_dtor()
1441 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1542 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1548 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1854 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2023 zfd.filename = SG(request_info).path_translated; in php_cli_server_dispatch_script()
2041 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static()
[all …]
/PHP-5.5/sapi/continuity/
H A Dcapi.c416 char *path_translated = lstFset_get(NSG(t->vars), "path"); in capi_request_ctor() local
424 SG(request_info).path_translated = capi_strdup(path_translated); in capi_request_ctor()
435 capi_free(SG(request_info).path_translated); in capi_request_dtor()
447 file_handle.filename = SG(request_info).path_translated; in capi_module_main()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c775 if (!SG(request_info).path_translated) {
1067 SG(request_info).path_translated = NULL;
1267 char *path_translated = NULL; local
1290 efree(path_translated);
1297 char *path_translated = NULL; local
1300 memcpy(path_translated, pt, ptlen);
1309 efree(path_translated);
1789 SG(request_info).path_translated = NULL;
1909 if (!SG(request_info).path_translated) {
1978 STR_FREE(SG(request_info).path_translated);
[all …]
H A Dfpm_php.c162 return SG(request_info).path_translated; in fpm_php_script_filename()
H A Dfpm_php_trace.c59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { in fpm_php_trace_dump()
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c497 …php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_isapi_register_iis_variables()
758 SG(request_info).path_translated = estrdup(static_variable_buf); in init_request_info()
766 SG(request_info).path_translated = estrdup(humi.lpszPath); in init_request_info()
770 SG(request_info).path_translated = estrdup(lpECB->lpszPathTranslated); in init_request_info()
774 if (strstr(SG(request_info).path_translated,"..")) { in init_request_info()
776 efree(SG(request_info).path_translated); in init_request_info()
777 SG(request_info).path_translated = NULL; in init_request_info()
852 file_handle.filename = SG(request_info).path_translated; in HttpExtensionProc()
871 if (SG(request_info).path_translated) in HttpExtensionProc()
872 efree(SG(request_info).path_translated); in HttpExtensionProc()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c173 if ( SG(request_info).path_translated ) in sapi_lsapi_deactivate()
175 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
502 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
551 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script()
558 file_handle->filename = SG(request_info).path_translated; in lsapi_fopen_primary_script()
573 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
579 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
584 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
603 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in lsapi_module_main()
884 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]

Completed in 129 milliseconds

12