php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61942
Patch opcode_view_patch revision 2012-05-04 19:24 UTC by bug at s-seven dot net
revision 2012-05-04 19:16 UTC by bug at s-seven dot net
revision 2012-05-04 19:10 UTC by bug at s-seven dot net

Patch opcode_view_patch for APC Bug #61942

Patch version 2012-05-04 19:10 UTC

Return to Bug #61942 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions: 2012-05-04 19:24 UTC | 2012-05-04 19:16 UTC | 2012-05-04 19:10 UTC

Developer: bug@s-seven.net



   ////////// BEGIN OF DEFAULT CONFIG AREA ///////////////////////////////////////////////////////////
   
  -defaults('USE_AUTHENTICATION',1);                      // Use (internal) authentication - best choice if 
  +defaults('USE_AUTHENTICATION',0);                      // Use (internal) authentication - best choice if
                                                                                         // no other authentication is available
                                                                                         // no other authentication is av
                                                                                          // If set to 0:
                                                                                         //  There will be no further authentication. You 
                                                                                         //  There will be no further aut
  @@ -51,6 +51,9 @@ defaults('GRAPH_SIZE',200);                                   // Image size
   
   //defaults('PROXY', 'tcp://127.0.0.1:8080');
   


  +               clearstatcache();
  +               if (file_exists($opcode_filename))
  +               {
  +                       echo "<hr><p><ol class=menu>";
 +                       echo sprintf("<li><a %s href=\"{$MY_SELF}&OB={$MYREQUEST['OB']}&SH={$MYREQUEST['SH']}&OP=%d\">%s opcode</a></li>",
 +                               $MYREQUEST['OP']?'class="child_active"':'', (int)!$MYREQUEST['OP'], $MYREQUEST['OP']?'Hide':'Show');
 +                       echo sprintf("<li><a %s href=\"{$MY_SELF}&OB={$MYREQUEST['OB']}&SH={$MYREQUEST['SH']}&OP=%d\">%s
 +                               $MYREQUEST['OP']?'class="child_active"':'', (int)!$MYREQUEST['OP'], $MYREQUEST['OP']?'Hi
  +                       echo"</ol></p><hr>";
  +
  +                       if ($MYREQUEST['OP'] == 1)
  +                       {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC