Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorAccessLogConfigOptions.php
| Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | $http_map = $common_map + array( | ||||
| 'R' => pht('The HTTP referrer.'), | 'R' => pht('The HTTP referrer.'), | ||||
| 'M' => pht('The HTTP method.'), | 'M' => pht('The HTTP method.'), | ||||
| ); | ); | ||||
| $ssh_map = $common_map + array( | $ssh_map = $common_map + array( | ||||
| 's' => pht('The system user.'), | 's' => pht('The system user.'), | ||||
| 'S' => pht('The system sudo user.'), | 'S' => pht('The system sudo user.'), | ||||
| 'k' => pht('ID of the SSH key used to authenticate the request.'), | 'k' => pht('ID of the SSH key used to authenticate the request.'), | ||||
| // TODO: This is a reasonable thing to support in the HTTP access | |||||
| // log, too. | |||||
| 'Q' => pht('A random, unique string which identifies the request.'), | |||||
| ); | ); | ||||
| $http_desc = pht( | $http_desc = pht( | ||||
| 'Format for the HTTP access log. Use `%s` to set the path. '. | 'Format for the HTTP access log. Use `%s` to set the path. '. | ||||
| 'Available variables are:', | 'Available variables are:', | ||||
| 'log.access.path'); | 'log.access.path'); | ||||
| $http_desc .= "\n\n"; | $http_desc .= "\n\n"; | ||||
| $http_desc .= $this->renderMapHelp($http_map); | $http_desc .= $this->renderMapHelp($http_map); | ||||
| ▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines | |||||