Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
framadate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
framadate
Commits
c9ea1436
Commit
c9ea1436
authored
10 years ago
by
Olivier PEREZ
Browse files
Options
Downloads
Patches
Plain Diff
Fix promblem with Session loading
parent
985842ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
admin/index.php
+0
-1
0 additions, 1 deletion
admin/index.php
app/inc/init.php
+3
-3
3 additions, 3 deletions
app/inc/init.php
infos_sondage.php
+1
-0
1 addition, 0 deletions
infos_sondage.php
with
4 additions
and
4 deletions
admin/index.php
+
0
−
1
View file @
c9ea1436
...
...
@@ -17,7 +17,6 @@
* Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
*/
namespace
Framadate
;
session_start
();
include_once
__DIR__
.
'/../app/inc/init.php'
;
include_once
__DIR__
.
'/../bandeaux.php'
;
...
...
This diff is collapsed.
Click to expand it.
app/inc/init.php
+
3
−
3
View file @
c9ea1436
...
...
@@ -19,6 +19,9 @@
use
Framadate\FramaDB
;
use
Framadate\Utils
;
// Autoloading of dependencies with Composer
require_once
__DIR__
.
'/../../vendor/autoload.php'
;
if
(
session_id
()
==
''
)
{
session_start
();
}
...
...
@@ -28,9 +31,6 @@ if (ini_get('date.timezone') == '') {
}
include_once
__DIR__
.
'/constants.php'
;
// Autoloading of dependencies with Composer
require_once
__DIR__
.
'/../../vendor/autoload.php'
;
include_once
__DIR__
.
'/i18n.php'
;
// Smarty
...
...
This diff is collapsed.
Click to expand it.
infos_sondage.php
+
1
−
0
View file @
c9ea1436
...
...
@@ -19,6 +19,7 @@
namespace
Framadate
;
include_once
__DIR__
.
'/app/inc/init.php'
;
if
(
!
isset
(
$_SESSION
[
'form'
]))
{
$_SESSION
[
'form'
]
=
new
Form
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment