Added correct path to images in login page background

This commit is contained in:
Arturo Gonzalez 2017-05-24 17:09:44 +02:00
parent 44dc9128b2
commit 3155b81eb5
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ if (!empty ($page) && !empty ($sec)) {
$login_body_style = '';
// Overrides the default background with the defined by the user
if (!empty($config['login_background'])) {
$background_url = "../../images/backgrounds/" . $config['login_background'];
$background_url = "images/backgrounds/" . $config['login_background'];
$login_body_style = "style=\"background-image: url('$background_url');\"";
}
echo '<div id="login_body" ' . $login_body_style . '>';