mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '912-login-page-background-dev' into 'develop'
Added correct path to images in login page background See merge request !506
This commit is contained in:
commit
6d2607e178
@ -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