From 39d090db1ed59d359f315dc7b682ab0b3a581c3d Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 28 Jun 2017 16:39:54 +0200 Subject: [PATCH] fixed minor error --- pandora_console/general/login_page.php | 10 +++++----- pandora_console/include/ajax/events.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index b6098dda01..f0b0e687e7 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -72,7 +72,7 @@ echo '
'; echo '
'; echo '
'; - if (PANDORA_ENTERPRISE) { + if (file_exists (ENTERPRISE_DIR . "/load_enterprise.php")) { if(isset ($config['custom_logo'])){ echo 'pandora_console'; } @@ -88,7 +88,7 @@ echo '
'; echo '
    '; echo '
  • docs pandora
  • '; echo '
  • ' . __('Docs') . '
  • '; - if (defined ('PANDORA_ENTERPRISE')) { + if (file_exists (ENTERPRISE_DIR . "/load_enterprise.php")) { echo '
  • support pandora
  • '; } else { echo '
  • support pandora
  • '; @@ -234,7 +234,7 @@ echo '