Fossil SCM

Add the g.zBaseURL and g.zTop printouts to the test_env test page.

drh 2007-10-11 01:56 UTC trunk
Commit 218577e3aff9282802ae7261c033aa54869607f7
1 file changed +2
--- src/style.c
+++ src/style.c
@@ -237,8 +237,10 @@
237237
/*
238238
** WEBPAGE: test_env
239239
*/
240240
void page_test_env(void){
241241
style_header("Environment Test");
242
+ @ g.zBaseURL = %h(g.zBaseURL)<br>
243
+ @ g.zTop = %h(g.zTop)<hr>
242244
cgi_print_all();
243245
style_footer();
244246
}
245247
--- src/style.c
+++ src/style.c
@@ -237,8 +237,10 @@
237 /*
238 ** WEBPAGE: test_env
239 */
240 void page_test_env(void){
241 style_header("Environment Test");
 
 
242 cgi_print_all();
243 style_footer();
244 }
245
--- src/style.c
+++ src/style.c
@@ -237,8 +237,10 @@
237 /*
238 ** WEBPAGE: test_env
239 */
240 void page_test_env(void){
241 style_header("Environment Test");
242 @ g.zBaseURL = %h(g.zBaseURL)<br>
243 @ g.zTop = %h(g.zTop)<hr>
244 cgi_print_all();
245 style_footer();
246 }
247

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button