Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
40eeea7b
Commit
40eeea7b
authored
Jun 07, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mvc) set phalcon session as shared
parent
c3541ad1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
services.php
src/opnsense/mvc/app/config/services.php
+1
-1
services_api.php
src/opnsense/mvc/app/config/services_api.php
+1
-1
No files found.
src/opnsense/mvc/app/config/services.php
View file @
40eeea7b
...
...
@@ -72,7 +72,7 @@ $di->set('modelsMetadata', function () {
/**
* Start the session the first time some component request the session service
*/
$di
->
set
(
'session'
,
function
()
{
$di
->
set
Shared
(
'session'
,
function
()
{
$session
=
new
SessionAdapter
();
$session
->
start
();
...
...
src/opnsense/mvc/app/config/services_api.php
View file @
40eeea7b
...
...
@@ -59,7 +59,7 @@ $di->set('url', function () use ($config) {
/**
* Start the session the first time some component request the session service
*/
$di
->
set
(
'session'
,
function
()
{
$di
->
set
Shared
(
'session'
,
function
()
{
$session
=
new
SessionAdapter
();
$session
->
start
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment