1998-06-01
1998-06-01 13:34:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
4f8d3af7e822b61925c1a61d1ae23d797d5028fc
(11 lines)
(+7/-4)
[
Show
| Annotate
]
Branch: 5.2
Added an action_disabled constant if PROFILING isn't enabled.
Rev: server/config_actions/profile.pike:1.3
1:
- // $Id: profile.pike,v 1.2 1998/03/02 18:44:16 grubba Exp $
- #ifdef PROFILE
+ // $Id: profile.pike,v 1.3 1998/06/01 13:34:41 grubba Exp $
+ #ifndef PROFILE
+ constant action_disabled = 1;
+ #else /* PROFILE */
inherit "wizard";
- constant name= "Maintenance//Profiling information...";
+ constant name = "Maintenance//Profiling information...";
constant doc = "Show average access time for all pages accessed on your server.";
constant wizard_name = "Profiling information";
65: Inside #if defined(PROFILE)
{
return wizard_for(id,0);
}
- #endif
+ #endif /* PROFILE */