Browse Source

Document blankpage_url option (#5025)

pull/8089/head
Aleksander Machniak 4 years ago
parent
commit
5d81c15f07
  1. 6
      config/defaults.inc.php
  2. 2
      program/include/rcmail_output_html.php

6
config/defaults.inc.php

@ -479,6 +479,12 @@ $config['advanced_prefs'] = [];
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = '';
// Location of the blank (watermark) frame page. By default it is the watermark.html
// file from the currently selected skin. Prepend name/path with a slash to use
// current skin folder. Remove the slash to point to a file in the Roundcube
// root directory. It can be also a full URL.
$config['blankpage_url'] = '/watermark.html';
// Logo image replacement. Specifies location of the image as:
// - URL relative to the document root of this Roundcube installation
// - full URL with http:// or https:// prefix

2
program/include/rcmail_output_html.php

@ -678,7 +678,7 @@ EOF;
// Fix assets path on blankpage
if (!empty($this->js_env['blankpage'])) {
$this->js_env['blankpage'] = $this->asset_url($this->abs_url($this->js_env['blankpage'], true));
$this->js_env['blankpage'] = $this->asset_url($this->js_env['blankpage'], true);
}
$commands = $this->get_js_commands($framed);

Loading…
Cancel
Save