Skip to content

Instantly share code, notes, and snippets.

@maxparm
Created June 15, 2011 22:39
Show Gist options
  • Save maxparm/1028298 to your computer and use it in GitHub Desktop.
Save maxparm/1028298 to your computer and use it in GitHub Desktop.
Session bootstrap file
<?php
use lithium\storage\Session;
use lithium\security\Auth;
Session::config(array(
'cookie' => array('adapter' => 'Cookie'),
'default' => array('adapter' => 'Php')
));
Auth::config(array(
'member' => array(
'adapter' => 'Form',
'model' => 'Users',
'fields' => array('username', 'password')
)
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment