Open the file app/config/session.php and change the driver to database.
We need to create the sessions table, so use the following artisan command
php artisan session:table to generate the migration file.
| #!/usr/bin/env bash | |
| # Created by Hugo Ferreira <[email protected]> on isoD. | |
| # Copyright (c) 2012 Mindclick. All Rights Reserved. | |
| # Licensed under the BSD License: http://creativecommons.org/licenses/BSD | |
| readonly BASEDIR=$(cd "$(dirname "$0")" && pwd) # where the script is located | |
| readonly CALLDIR=$(pwd) # where it was called from | |
| readonly STATUS_SUCCESS=0 # exit status for commands | |
| # Script configuration |
| # Vagrant Documentation | |
| # @see http://docs.vagrantup.com/v2/cli/package.html | |
| # @see http://stackoverflow.com/questions/19094024/is-there-any-way-to-clone-a-vagrant-box-that-is-already-installed | |
| # <command-1> | |
| vagrant package --base <virtual-box-name-or-uuid> ^ | |
| --output </path/to/package-name.box:package.box> | |
| # <command-2> | |
| vagrant box add --name <box-name> ^ |
| @see https://raw.githubusercontent.com/assertchris/dependable/master/readme.md | |
| [](https://travis-ci.org/laravel/framework) | |
| [](https://packagist.org/packages/laravel/framework) | |
| [](https://packagist.org/packages/laravel/framework) | |
| [](https://packagist.org/packages/laravel/framework) | |
| [](https://packagist.org/packages/laravel/framework) |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body ng-app="myApp"> | |
| <div ng-controller="MyController"> | |
| <input ng-model="to" |
| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |
| cls | |
| @echo off | |
| set file=%1 | |
| set /a line=%2+1 | |
| start "Open in Sublime Text" "C:\_Gecbla\Portable\Sublime Text 3\3065\sublime_text.exe" "%file%":%line% |
| /*global window, define */ | |
| var FacebookConnect = { | |
| options: { | |
| appId: null, // {String} Your application ID | |
| cookie: true, // {Boolean} Enables cookies to allow the server to access the session | |
| logging: true, // {Boolean} Disable logging | |
| session: null, // {Object} Use specified session object | |
| status: true, // {Boolean} Fetch fresh status |
| --- | |
| layout: post | |
| title: Part two on how I built my blog | |
| category: Coding | |
| tags: jekyll github rss | |
| year: 2012 | |
| month: 3 | |
| day: 22 | |
| published: true | |
| summary: A follow up post on how I built my blog |
| jQuery.fn.otherwise = function() { | |
| /* @see https://groups.google.com/forum/#!topic/jquery-en/a-KhJ4IqEI0 */ | |
| return this.end().not(this); | |
| }; |