Searched refs:path_translated (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php_trace.c61 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) {
H A Dfpm_main.c719 if (!SG(request_info).path_translated) {
740 path_len = strlen(SG(request_info).path_translated);
743 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
745 memcpy(path, SG(request_info).path_translated, path_len + 1);
749 path = estrndup(SG(request_info).path_translated, path_len);
941 request_info.path_translated variable, the latter should
996 * broken stuff and set path_translated to the cgi script location */
1002 SG(request_info).path_translated = NULL;
1202 char *path_translated = NULL; local
1215 path_translated
1232 char *path_translated = NULL; local
[all...]
H A Dfpm_php.c161 return SG(request_info).path_translated;
/PHP_TRUNK/main/
H A DSAPI.h87 char *path_translated; member in struct:__anon327
H A Dfopen_wrappers.c404 filename = SG(request_info).path_translated;
427 filename = SG(request_info).path_translated;
436 if (SG(request_info).path_translated != filename) {
441 /* we have to free SG(request_info).path_translated here because
445 if (SG(request_info).path_translated) {
446 efree(SG(request_info).path_translated);
447 SG(request_info).path_translated = NULL;
457 if (SG(request_info).path_translated != filename) {
462 if (SG(request_info).path_translated) {
463 efree(SG(request_info).path_translated);
[all...]
H A DSAPI.c1010 if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
H A Dmain.c1468 snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%zu bytes), script=%s\n", t->filename, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated));
1513 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated));
1515 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated));
1589 DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_FILENAME(SG(request_info).request_method));
1893 DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_FILENAME(SG(request_info).request_method));
/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...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c173 if ( SG(request_info).path_translated )
175 efree( SG(request_info).path_translated );
469 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName());
518 fp = fopen( SG(request_info).path_translated, "rb" );
525 file_handle->filename = SG(request_info).path_translated;
540 file_handle->filename = SG(request_info).path_translated;
546 len = strlen( SG(request_info).path_translated );
551 memccpy( p, SG(request_info).path_translated + len, 0, 46 );
570 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini);
851 SG(request_info).path_translated
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated ||
92 strlen(SG(request_info).path_translated) < len ||
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) {
H A DZendAccelerator.c734 file_handle->filename == SG(request_info).path_translated) {
1484 file_handle->filename == SG(request_info).path_translated &&
1685 filename == SG(request_info).path_translated) ||
1744 filename == SG(request_info).path_translated) ||
/PHP_TRUNK/ext/session/
H A Dsession.c1179 path = SG(request_info).path_translated;
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c490 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c805 if (!SG(request_info).path_translated) {
832 path_len = strlen(SG(request_info).path_translated);
835 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
837 memcpy(path, SG(request_info).path_translated, path_len + 1);
841 path = estrndup(SG(request_info).path_translated, path_len);
1061 request_info.path_translated variable, the latter should
1114 * broken stuff and set path_translated to the cgi script location */
1120 SG(request_info).path_translated = NULL;
1269 char *path_translated = NULL; local
1282 path_translated
1299 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c946 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename;
H A Dphp_cli_server.c131 char *path_translated; member in struct:php_cli_server_request
662 if (SG(request_info).path_translated) {
663 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", SG(request_info).path_translated);
1312 req->path_translated = NULL;
1335 if (req->path_translated) {
1336 pefree(req->path_translated, 1);
1437 request->path_translated = buf;
1443 request->path_translated = buf;
1758 request_info->path_translated = client->request.path_translated;
[all...]

Completed in 36 milliseconds