small cs improvement

dev_contacts
PhilW 6 years ago
parent f870a1aa5b
commit 266ad57f00

@ -58,7 +58,7 @@ class swipe extends rcube_plugin
$this->register_action('plugin.swipe.save_settings', array($this, 'save_settings')); $this->register_action('plugin.swipe.save_settings', array($this, 'save_settings'));
if ($this->rcube->output->type == 'html' && $this->rcube->action == '') { if ($this->rcube->output->type == 'html' && $this->rcube->action == '') {
$this->menu_file = '/' . $this->local_skin_path() . '/menu.html'; $this->menu_file = '/' . $this->local_skin_path() . '/includes/menu.html';
$filepath = slashify($this->home) . $this->menu_file; $filepath = slashify($this->home) . $this->menu_file;
if (is_file($filepath) && is_readable($filepath)) { if (is_file($filepath) && is_readable($filepath)) {
$this->rcube->output->set_env('swipe_actions', array( $this->rcube->output->set_env('swipe_actions', array(

Loading…
Cancel
Save