$useDbConfig is now in the model

I just noticed that the variable $useDbConfig is no longer in the controller, the variable has been moved to the model. That makes sense.

For everyone who has never heard of this variable: $useDbConfig is used to specify which database configuration to use (you can define several database configurations in /app/config/database.php). In your model you simply say:

var $useDbConfig = 'myDBConfig';

Post a Comment

Required fields are marked *
*
*

%d bloggers like this: