' . esc_html__( 'Enabled', 'litespeed-cache' ) . ''; $lang_disabled = '' . esc_html__( 'Disabled', 'litespeed-cache' ) . ''; $mem_enabled = class_exists( 'Memcached' ) ? $lang_enabled : $lang_disabled; $redis_enabled = class_exists( 'Redis' ) ? $lang_enabled : $lang_disabled; $mem_conn = $this->cls( 'Object_Cache' )->test_connection(); if ( null === $mem_conn ) { $mem_conn_desc = '' . esc_html__( 'Not Available', 'litespeed-cache' ) . ''; } elseif ( $mem_conn ) { $mem_conn_desc = '' . esc_html__( 'Passed', 'litespeed-cache' ) . ''; } else { $severity = $this->conf( Base::O_OBJECT, true ) ? 'danger' : 'warning'; $mem_conn_desc = '' . esc_html__( 'Failed', 'litespeed-cache' ) . ''; } ?>
title( $option_id ); ?> |
build_switch( $option_id ); ?>
:
: : |
---|---|
title( $option_id ); ?> | build_switch( $option_id, array( 'Memcached', 'Redis' ) ); ?> |
title( $option_id ); ?> |
build_input( $option_id ); ?>
LSMCD/Redis'
);
?>
/path/to/memcached.sock' ); ?> |
title( $option_id ); ?> |
build_input( $option_id, 'litespeed-input-short2' ); ?>
11211'
);
?>
6379' ); ?> 0' ); ?> |
title( $option_id ); ?> |
build_input( $option_id, 'litespeed-input-short2' ); ?>
|
title( $option_id ); ?> |
build_input( $option_id ); ?>
|
title( $option_id ); ?> |
build_input( $option_id ); ?>
|
title( $option_id ); ?> |
build_input( $option_id, 'litespeed-input-short' ); ?>
|
title( $option_id ); ?> |
build_textarea( $option_id, 30 ); ?>
|
title( $option_id ); ?> |
build_textarea( $option_id, 30 ); ?>
|
title( $option_id ); ?> |
build_switch( $option_id ); ?>
|
title( $option_id ); ?> |
build_switch( $option_id ); ?>
|
title( $option_id ); ?> |
build_switch( $option_id ); ?>
' . esc_html( Lang::title( Base::O_OBJECT_ADMIN ) ) . '',
'
' . esc_html__( 'OFF', 'litespeed-cache' ) . ' '
);
?>
|