Fix autoload

ofaj
jmontoyaa 9 years ago
parent 94cef33827
commit cbce5c4899
  1. 2
      main/inc/lib/database.lib.php
  2. 1
      main/install/index.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(

@ -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';

Loading…
Cancel
Save