Branch: Tag:

1998-06-01

1998-06-01 13:34:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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 */