From a9ee3c6b374e191621bb1bfe1065953b5d110181 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 11 Sep 2014 10:00:10 +0200 Subject: [PATCH] Admin web fix --- code/web/public_php/admin/config.php | 4 ++-- code/web/public_php/admin/templates/default/index.tpl | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code/web/public_php/admin/config.php b/code/web/public_php/admin/config.php index 0a43d798a..5fdfd1c58 100644 --- a/code/web/public_php/admin/config.php +++ b/code/web/public_php/admin/config.php @@ -11,8 +11,8 @@ define('NELTOOL_DBNAME', $cfg['db']['tool']['name']); // site paths definitions - define('NELTOOL_SITEBASE', $_SERVER['PHP_SELF']); - define('NELTOOL_SYSTEMBASE', dirname( dirname(__FILE__) ) . '/admin/'); + define('NELTOOL_SITEBASE', dirname($_SERVER['PHP_SELF']) .'/'); + define('NELTOOL_SYSTEMBASE', dirname(__FILE__) .'/'); define('NELTOOL_LOGBASE', NELTOOL_SYSTEMBASE .'/logs/'); define('NELTOOL_IMGBASE', NELTOOL_SYSTEMBASE .'/imgs/'); diff --git a/code/web/public_php/admin/templates/default/index.tpl b/code/web/public_php/admin/templates/default/index.tpl index 7d3bc5c79..04fe742df 100644 --- a/code/web/public_php/admin/templates/default/index.tpl +++ b/code/web/public_php/admin/templates/default/index.tpl @@ -1,4 +1,3 @@ - {include file="page_header.tpl"} {literal}