Skip to content

Commit

Permalink
Moving session configuration to main app
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumos committed Dec 8, 2013
1 parent aaa7006 commit 5fbb969
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ echo ">>>> Creating and filling database schema"
php artisan migrate --package=zeropingheroes/lanager-core
php artisan db:seed --class=LanagerSeeder
echo ">>>> Publishing package assets to public directory"
echo ">>>> Publishing package assets & configs to public directory"
php artisan asset:publish zeropingheroes/lanager-core
php artisan config:publish zeropingheroes/lanager-core
# Mark box as provisioned
touch $HOME/.provisioned
Expand Down Expand Up @@ -98,8 +99,8 @@ Vagrant.configure("2") do |config|
config.vm.box_url = "http://files.vagrantup.com/precise64.box"

# Forward ports for web (8080) and MySQL (3307)
config.vm.network :forwarded_port, guest: 80, host: 80
config.vm.network :forwarded_port, guest: 3306, host: 3306
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :forwarded_port, guest: 3306, host: 3307

# Run script defined at top of this file
config.vm.provision :shell, :inline => $script
Expand Down
6 changes: 3 additions & 3 deletions app/config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
|
*/

'driver' => 'native',
'driver' => 'database',

/*
|--------------------------------------------------------------------------
Expand All @@ -29,7 +29,7 @@
|
*/

'lifetime' => 120,
'lifetime' => 60*24*3, // 3 Days

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -94,7 +94,7 @@
|
*/

'cookie' => 'laravel_session',
'cookie' => 'lanager',

/*
|--------------------------------------------------------------------------
Expand Down
Empty file removed public/favicon.ico
Empty file.

0 comments on commit 5fbb969

Please sign in to comment.