Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | test_env command now requires g.perm.Admin or g.perm.Setup. Resolves ticket [2316d926e376aa]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2d71977e984b5e260b0ca6c77155640d |
| User & Date: | stephan 2011-09-15 21:39:00.331 |
References
|
2011-09-15
| ||
| 21:40 | • Fixed ticket [2316d926e3]: test_env visible when not logged in and no capabilities plus 2 other changes ... (artifact: 14f3170792 user: stephan) | |
Context
|
2011-09-16
| ||
| 11:19 | minor typo and wiki formatting fix. Added another external link. ... (check-in: 9f5c40cbe7 user: stephan tags: trunk) | |
|
2011-09-15
| ||
| 21:39 | test_env command now requires g.perm.Admin or g.perm.Setup. Resolves ticket [2316d926e376aa]. ... (check-in: 2d71977e98 user: stephan tags: trunk) | |
|
2011-09-14
| ||
| 18:08 | Merge the refactored permission flags into trunk. ... (check-in: b344d3c0cd user: drh tags: trunk) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
803 804 805 806 807 808 809 810 811 812 813 814 815 816 |
** WEBPAGE: test_env
*/
void page_test_env(void){
char c;
int i;
char zCap[30];
login_check_credentials();
style_header("Environment Test");
#if !defined(_WIN32)
@ uid=%d(getuid()), gid=%d(getgid())<br />
#endif
@ g.zBaseURL = %h(g.zBaseURL)<br />
@ g.zTop = %h(g.zTop)<br />
for(i=0, c='a'; c<='z'; c++){
| > | 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 |
** WEBPAGE: test_env
*/
void page_test_env(void){
char c;
int i;
char zCap[30];
login_check_credentials();
if( !g.perm.Admin && !g.perm.Setup ){ login_needed(); return; }
style_header("Environment Test");
#if !defined(_WIN32)
@ uid=%d(getuid()), gid=%d(getgid())<br />
#endif
@ g.zBaseURL = %h(g.zBaseURL)<br />
@ g.zTop = %h(g.zTop)<br />
for(i=0, c='a'; c<='z'; c++){
|
| ︙ | ︙ |