From cbce5c4899cf8eff07302c954d5fba653d3b301c Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Thu, 31 Mar 2016 13:20:20 +0200 Subject: [PATCH] Fix autoload --- main/inc/lib/database.lib.php | 2 +- main/install/index.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/inc/lib/database.lib.php b/main/inc/lib/database.lib.php index 13d2c2592a..cfee725151 100755 --- a/main/inc/lib/database.lib.php +++ b/main/inc/lib/database.lib.php @@ -150,7 +150,7 @@ class Database // Registering Constraints AnnotationRegistry::registerAutoloadNamespace( 'Symfony\Component\Validator\Constraint', - $sysPath."vendor/symfony/validator" + $sysPath."vendor/symfony/symfony/src" ); AnnotationRegistry::registerFile( diff --git a/main/install/index.php b/main/install/index.php index 081f547bf2..5ab1307926 100755 --- a/main/install/index.php +++ b/main/install/index.php @@ -36,6 +36,7 @@ ob_implicit_flush(true); session_start(); require_once api_get_path(LIBRARY_PATH).'database.constants.inc.php'; require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php'; +require_once api_get_path(LIBRARY_PATH).'text.lib.php'; require_once api_get_path(LIBRARY_PATH).'banner.lib.php'; require_once 'install.lib.php';