use Shopware\Components\Api\Exception\BatchInterfaceNotImplementedException;
use Shopware\Components\Api\Exception\CustomValidationException;
use Shopware\Components\Api\Exception\NonUniqueIdentifierUsedException;
use Shopware\Components\Api\Exception\NotFoundException;
use Shopware\Components\Api\Exception\OrmException;
use Shopware\Components\Api\Exception\ParameterMissingException;
use Shopware\Components\Api\Exception\PrivilegeException;
use Shopware\Components\Api\Exception\ValidationException;
use Shopware\Components\Logger;
if (file_exists($this->
DocPath() . 'config_' .
$this->
Environment() . '.php'
)) { $customConfig =
$this->
loadConfig($this->
DocPath() . 'config_' .
$this->
Environment() . '.php'
);
} elseif (file_exists($this->
DocPath() . 'config.php'
)) { $customConfig =
$this->
loadConfig($this->
DocPath() . 'config.php'
);
} else { $customConfig =
[];
}if (!\
is_array($customConfig)) { throw new Enlight_Exception('The custom configuration file must return an array.'
);
}