add sample config for oracle connection

This commit is contained in:
Manuel Raynaud
2012-12-18 10:16:25 +01:00
parent 497c16d4b8
commit 647424d649
7 changed files with 53 additions and 12 deletions

View File

@@ -3,9 +3,6 @@
if (!isset($env)) {
$env = 'prod';
}
//
//use Symfony\Component\DependencyInjection;
//use Symfony\Component\DependencyInjection\Reference;
/**
*
@@ -16,3 +13,10 @@ if (!isset($env)) {
$loader = require __DIR__ . '/autoload.php';
define('THELIA_ROOT', __DIR__ .'/../');
if(file_exists(THELIA_ROOT . '/local/config/config_db.php'))
{
require THELIA_ROOT . '/local/config/config_db.php';
} else {
define('THELIA_INSTALL_MODE',true);
}