mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added correct path to images in login page background
This commit is contained in:
parent
44dc9128b2
commit
3155b81eb5
@ -65,7 +65,7 @@ if (!empty ($page) && !empty ($sec)) {
|
|||||||
$login_body_style = '';
|
$login_body_style = '';
|
||||||
// Overrides the default background with the defined by the user
|
// Overrides the default background with the defined by the user
|
||||||
if (!empty($config['login_background'])) {
|
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');\"";
|
$login_body_style = "style=\"background-image: url('$background_url');\"";
|
||||||
}
|
}
|
||||||
echo '<div id="login_body" ' . $login_body_style . '>';
|
echo '<div id="login_body" ' . $login_body_style . '>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user