mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Issue #4176 - Incremental introduction of database sessions - Experimental (work in progress)
This commit is contained in:
@@ -1431,7 +1431,7 @@ $text .= "
|
||||
*
|
||||
|
||||
*/
|
||||
$text .= "
|
||||
$text .= "
|
||||
|
||||
<tr>
|
||||
<td><label for='disallowmultilogin'>".PRFLAN_129."</label></td>
|
||||
@@ -1463,9 +1463,26 @@ $text .= "
|
||||
<div class='smalltext field-help'>".PRFLAN_273."</div>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
if(e_DEVELOPER) // Experimental (translate terms after this check is removed)
|
||||
{
|
||||
// $systemSaveMethod = ini_get('session.save_handler');
|
||||
// $saveMethod = (!empty($systemSaveMethod)) ? $systemSaveMethod : 'files';
|
||||
// $systemSaveMethod => PRFLAN_276,
|
||||
$text .= "
|
||||
<tr>
|
||||
<td><label for='session-save-method'>".PRFLAN_282."</label></td>
|
||||
<td class='form-inline'>
|
||||
".$frm->select('session_save_method', [ 'db'=>'Database', 'files'=>'Files'], $pref['session_save_method'])."
|
||||
<!-- <div class='smalltext field-help'>".PRFLAN_273."</div>-->
|
||||
<span class='label label-warning'>Experimental</span>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
$text .= "
|
||||
<tr>
|
||||
<td><label for='passwordencoding'>".PRFLAN_188.":</label></td>
|
||||
|
||||
|
@@ -766,7 +766,7 @@ function update_706_to_800($type='')
|
||||
);
|
||||
|
||||
// List of DB tables not required (includes a few from 0.6xx)
|
||||
$obs_tables = array('flood', 'stat_info', 'stat_counter', 'stat_last', 'session', 'preset', 'tinymce');
|
||||
$obs_tables = array('flood', 'stat_info', 'stat_counter', 'stat_last', 'preset', 'tinymce');
|
||||
|
||||
|
||||
// List of DB tables newly required (defined in core_sql.php) (The existing dblog table gets renamed)
|
||||
|
Reference in New Issue
Block a user