Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch (APPLICATION_ENV) {
- case 'development' :
- $this->_host = '127.0.0.1';
- $this->_user = 'yallos';
- $this->_password = 'yallos';
- break;
- case 'testing' :
- $this->_host = '192.168.2.5';
- $this->_user = 'yallos';
- $this->_password = 'yallos';
- break;
- case 'staging' :
- $this->_host = '127.0.0.1';
- $this->_user = 'yallos';
- $this->_password = 'yallos';
- break;
- case 'production' :
- // TODO: set production DB credentials
- $this->_host = '';
- $this->_user = '';
- $this->_password = 'yallos';
- break;
- }
Add Comment
Please, Sign In to add comment