Bug fix patch

- Fixed Session::set issue reported on Bugnsag

added exapmle.env again
This commit is contained in:
Manish Verma
2018-09-18 19:01:08 +05:30
committed by Manish Verma
parent eba2c987a2
commit 2ebf32b96e
2 changed files with 19 additions and 1 deletions

View File

@@ -615,7 +615,7 @@ class FormController extends Controller
{
$form = self::getSession();
$form++;
\Session::set('fromid', $form);
\Session::put('fromid', $form);
}
public static function getSession()

18
example.env Normal file
View File

@@ -0,0 +1,18 @@
APP_ENV=production
APP_DEBUG=false
APP_KEY=SomeRandomString
DB_TYPE=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
DB_INSTALL=%0%
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync