Advertisement
Guest User

Active Record Configuration

a guest
Jun 22nd, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1.     ActiveRecord\Config::initialize( function($cfg) {
  2.             $cfg->set_model_directory( 'www/sites/all/mvc/models' );
  3.             $cfg->set_connections( array(
  4.                 'development' => 'mysql://root:@localhost/test' ) );
  5.         }
  6.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement