Skip to content

Commit

Permalink
load application before checking the version; fixed #163
Browse files Browse the repository at this point in the history
  • Loading branch information
grych committed Sep 4, 2018
1 parent 2fdb8e2 commit ac6030e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions lib/drab/core.ex
Expand Up @@ -141,8 +141,7 @@ defmodule Drab.Core do
config entry, see Drab.Config
* Drab Store is not the Plug Session! This is a different entity. Anyway, you have an access
to the Plug Session (details below).
* Drab Store is stored on the client side and it is signed, but - as the Plug Session cookie -
not ciphered.
* Drab Store is stored on the client side and it is encrypted.
## Session
Expand Down
1 change: 1 addition & 0 deletions lib/mix/tasks/drab.install.ex
Expand Up @@ -140,6 +140,7 @@ defmodule Mix.Tasks.Drab.Install do
end

defp validate_phoenix_version do
Application.load(:phoenix)
unless phoenix13?() do
Mix.raise("""
Only Phoenix 1.3 is supported with the installer, please proceed with manual install.
Expand Down

0 comments on commit ac6030e

Please sign in to comment.