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}