From ac53ecd1c560ee0b28081615eb97fb587f106049 Mon Sep 17 00:00:00 2001 From: Dennis14e Date: Tue, 14 Feb 2017 12:12:59 +0100 Subject: [PATCH] [FIX] Constant BASE_DIR already defined Fixes error "Notice: Constant BASE_DIR already defined in /var/www/html/syspass/inc/Base.php on line 34" Constant BASE_DIR defined on line 29 and 34. --- inc/Base.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/Base.php b/inc/Base.php index 992001f3..22166a51 100644 --- a/inc/Base.php +++ b/inc/Base.php @@ -26,8 +26,6 @@ use SP\Core\Init; defined('APP_ROOT') || die(); -define('BASE_DIR', __DIR__); -// // Please, notice that this file should be outside the webserver root. You can move it and then update this path define('XML_CONFIG_FILE', __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.xml'); @@ -106,4 +104,4 @@ function _t($domain, $message) } // Inicializar sysPass -Init::start(); \ No newline at end of file +Init::start();