diff --git a/.env.development.php b/.env.development.php index bfe98cf916..a3a31df7b4 100644 --- a/.env.development.php +++ b/.env.development.php @@ -4,5 +4,6 @@ return array( //'TAG_MANAGER_KEY' => '', //'ANALYTICS_KEY' => '', - + 'NINJA_PROD' => true, + ); diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index 29bc237c22..36a6a2f646 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -310,7 +310,7 @@ class PaymentController extends \BaseController } } - if (!Session::get('return_url') || !Session::get('affiliate_id')) + if (!Session::get('affiliate_id')) { return Utils::fatalError(); } @@ -428,7 +428,7 @@ class PaymentController extends \BaseController public function claim_license() { - $license = License::where('license_key', '=', Input::get('key')) + $license = License::where('license_key', '=', Input::get('license_key')) ->where('is_claimed', '=', false)->first(); if ($license) diff --git a/app/views/header.blade.php b/app/views/header.blade.php index de07dfa47d..d84b14aa20 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -325,7 +325,7 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice @if (Auth::check() && !Auth::user()->isPro())