mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
Dependency Injection
This commit is contained in:
@@ -4,19 +4,11 @@ set_include_path( dirname(__FILE__) );
|
||||
|
||||
require_once "vendor/autoload.php";
|
||||
|
||||
|
||||
use Espo\Core;
|
||||
$base= \Espo\Core\Base::start();
|
||||
|
||||
//error_reporting(-1);
|
||||
set_error_handler(array($base->log, 'catchError'), E_ALL);
|
||||
set_exception_handler(array($base->log, 'catchException'));
|
||||
|
||||
/*
|
||||
use Doctrine\ORM\Tools\Setup;
|
||||
|
||||
|
||||
|
||||
$isDevMode = true;
|
||||
//JSON Driver for Doctrine
|
||||
use Doctrine\ORM\Mapping\Driver\JsonDriver;
|
||||
|
||||
Reference in New Issue
Block a user