Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
8cdc2aaa
Verified
Commit
8cdc2aaa
authored
2 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(php8.2) - progression
Progression
parent
6b1217c2
core-php8
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/class_config.inc
+9
-0
include/class_config.inc
include/php_setup.inc
+0
-3
include/php_setup.inc
with
9 additions
and
3 deletions
+9
-3
include/class_config.inc
+
9
−
0
View file @
8cdc2aaa
...
...
@@ -83,6 +83,10 @@ class config
}
}
/**
* Note: Magic method allowing to declare what needs to be serialized - E.g required for session_regenerate_id().
* @return array
*/
public
function
__serialize
():
array
{
return
[
...
...
@@ -96,6 +100,11 @@ class config
];
}
/**
* @param array $data
* @return void
* Note : Magic method allowing to regenerate required data set in $_SESSION during restoration.
*/
public
function
__unserialize
(
array
$data
):
void
{
$this
->
config_found
=
$data
[
'config_found'
];
...
...
This diff is collapsed.
Click to expand it.
include/php_setup.inc
+
0
−
3
View file @
8cdc2aaa
...
...
@@ -335,9 +335,6 @@ $smarty->registerPlugin('modifier', 'base64_encode', 'base64_encode');
# It should not require registration as it is put in the plugins folder of smarty
#$smarty->registerPlugin('function', 'filePath', 'smarty_function_filePath');
# Deactivate php process within smarty template
$smarty
->
allow_php
=
false
;
/* Check for SSL connection */
$ssl
=
''
;
if
(
!
URL
::
sslOn
())
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets