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_php.c161 return SG(request_info).path_translated;
H A Dfpm_main.c718 if (!SG(request_info).path_translated) {
739 path_len = strlen(SG(request_info).path_translated);
742 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
744 memcpy(path, SG(request_info).path_translated, path_len + 1);
748 path = estrndup(SG(request_info).path_translated, path_len);
940 request_info.path_translated variable, the latter should
995 * broken stuff and set path_translated to the cgi script location */
1001 SG(request_info).path_translated = NULL;
1201 char *path_translated = NULL; local
1214 path_translated
1231 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...]
/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 DZendAccelerator.c737 file_handle->filename == SG(request_info).path_translated) {
1484 file_handle->filename == SG(request_info).path_translated &&
1692 filename == SG(request_info).path_translated &&
1721 filename == SG(request_info).path_translated) ||
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) {
/PHP_TRUNK/ext/session/
H A Dsession.c1181 path = SG(request_info).path_translated;
/PHP_TRUNK/main/
H A DSAPI.c1006 if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
H A DSAPI.h87 char *path_translated; member in struct:__anon9
H A Dmain.c1420 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));
1465 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated));
1467 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated));
1541 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));
1845 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));
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) {
440 /* we have to free SG(request_info).path_translated here because
444 if (SG(request_info).path_translated) {
445 efree(SG(request_info).path_translated);
446 SG(request_info).path_translated = NULL;
456 if (SG(request_info).path_translated != filename) {
461 if (SG(request_info).path_translated) {
462 efree(SG(request_info).path_translated);
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c803 if (!SG(request_info).path_translated) {
830 path_len = strlen(SG(request_info).path_translated);
833 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
835 memcpy(path, SG(request_info).path_translated, path_len + 1);
839 path = estrndup(SG(request_info).path_translated, path_len);
1059 request_info.path_translated variable, the latter should
1112 * broken stuff and set path_translated to the cgi script location */
1118 SG(request_info).path_translated = NULL;
1267 char *path_translated = NULL; local
1280 path_translated
1297 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c934 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename;
H A Dphp_cli_server.c130 char *path_translated; member in struct:php_cli_server_request
661 if (SG(request_info).path_translated) {
662 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", SG(request_info).path_translated);
1311 req->path_translated = NULL;
1334 if (req->path_translated) {
1335 pefree(req->path_translated, 1);
1436 request->path_translated = buf;
1442 request->path_translated = buf;
1757 request_info->path_translated = client->request.path_translated;
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c484 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);

Completed in 50 milliseconds