Guest User

Untitled

a guest
May 15th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.82 KB | None | 0 0
  1. switch (APPLICATION_ENV) {
  2.             case 'development' :
  3.                 $this->_host = '127.0.0.1';
  4.                 $this->_user = 'yallos';
  5.                 $this->_password = 'yallos';
  6.                 break;
  7.             case 'testing' :
  8.                 $this->_host = '192.168.2.5';
  9.                 $this->_user = 'yallos';
  10.                 $this->_password = 'yallos';
  11.                 break;
  12.             case 'staging' :
  13.                 $this->_host = '127.0.0.1';
  14.                 $this->_user = 'yallos';
  15.                 $this->_password = 'yallos';
  16.                 break;
  17.             case 'production' :
  18.                 // TODO: set production DB credentials
  19.                 $this->_host = '';
  20.                 $this->_user = '';
  21.                 $this->_password = 'yallos';
  22.                 break;
  23.         }
Add Comment
Please, Sign In to add comment