Changeset 330 for eaccelerator/trunk/control.php
- Timestamp:
- 08/20/07 15:15:06 (1 year ago)
- Files:
-
- eaccelerator/trunk/control.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/control.php
r326 r330 273 273 <div class="head2"> 274 274 <?php 275 $items = array(0 => 'Status', 1 => 'Script Cache', 2 => 'User Cache'); 275 /* 276 Check if eA was compiled with WITH_EACCELERATOR_CONTENT_CACHING) || WITH_EACCELERATOR_SESSIONS || WITH_EACCELERATOR_SHM 277 if yes, show 'User Cache' tab, else dont 278 */ 279 if (function_exists(eaccelerator_list_keys)) { 280 $items = array(0 => 'Status', 1 => 'Script Cache', 2 => 'User Cache'); 281 } else { 282 $items = array(0 => 'Status', 1 => 'Script Cache'); 283 } 284 276 285 foreach ($items as $i => $item) { 277 286 echo '<span class="menuitem'.(($sec == $i)?'_sel':'').'" onmouseover="menusel(this)" onmouseout="menusel(this)" onclick="gosec('.$i.')">'.(($sec != $i)?'<a href="'.$_SERVER['PHP_SELF'].'?sec='.$i.'">'.$item.'</a>':$item).'</span>';