diff --git a/pandora_console/general/error_screen.php b/pandora_console/general/error_screen.php index 75a3194535..bbeaf84e0a 100644 --- a/pandora_console/general/error_screen.php +++ b/pandora_console/general/error_screen.php @@ -11,21 +11,25 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -require_once 'include/functions.php'; -require_once 'include/functions_html.php'; -require_once 'include/functions_ui.php'; -require_once 'include/functions_io.php'; -require_once 'include/functions_extensions.php'; +require_once __DIR__.'/../include/functions.php'; +require_once __DIR__.'/../include/functions_html.php'; +require_once __DIR__.'/../include/functions_ui.php'; +require_once __DIR__.'/../include/functions_io.php'; +require_once __DIR__.'/../include/functions_extensions.php'; + +global $config; +$config['homedir'] = realpath(__DIR__.'/../'); + echo ''; ob_start('ui_process_page_head'); echo ''; echo ''."\n"; -require_once 'include/functions_themes.php'; +require_once __DIR__.'/../include/functions_themes.php'; ob_start('ui_process_page_body'); -// At this point, $login_screen is setted with the error type desired -require 'login_page.php'; +// At this point, $login_screen is set with the error type desired. +require __DIR__.'/login_page.php'; ?> diff --git a/pandora_console/include/styles/common.css b/pandora_console/include/styles/common.css index 11bd14eedd..398379b526 100644 --- a/pandora_console/include/styles/common.css +++ b/pandora_console/include/styles/common.css @@ -45,6 +45,10 @@ div.database_debug_title { clear: right; float: right; } +.relative.right { + clear: none; + float: right; +} .clear { clear: both; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 3b37291fe4..95ce47ad12 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -7486,9 +7486,8 @@ div.graph div.legend table { .load_enterprise_div { display: flex; align-items: center; - padding-top: 20px; - padding-left: 50px; - padding-right: 50px; + width: 100%; + justify-content: space-around; } .update_manager {