mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Session Save Method set to 'db' as default.
This commit is contained in:
@@ -1465,7 +1465,7 @@ $text .= "
|
||||
</tr>
|
||||
";
|
||||
|
||||
if(e_DEVELOPER) // Experimental (translate terms after this check is removed)
|
||||
// if(e_DEVELOPER) // Experimental (translate terms after this check is removed)
|
||||
{
|
||||
// $systemSaveMethod = ini_get('session.save_handler');
|
||||
// $saveMethod = (!empty($systemSaveMethod)) ? $systemSaveMethod : 'files';
|
||||
@@ -1476,7 +1476,7 @@ $text .= "
|
||||
<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>
|
||||
<!-- <span class='label label-warning'>Experimental</span>-->
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
|
@@ -967,7 +967,7 @@ class theme_admin_form_ui extends e_admin_form_ui
|
||||
$mainTitle = defset('TPVLAN_97', "This theme requires a newer version of e107.");
|
||||
}
|
||||
|
||||
e107::getDebug()->log($theme['path']." - ".$disabled. " (".$compat.")");
|
||||
// e107::getDebug()->log($theme['path']." - ".$disabled. " (".$compat.")");
|
||||
|
||||
$main_icon = ($pref['sitetheme'] != $theme['path']) ? "<button class='btn btn-default btn-secondary btn-small btn-sm btn-inverse' type='submit' ".$disabled." name='selectmain[".$theme['path']."]' alt=\"".$mainTitle."\" title=\"".$mainTitle."\" >".$tp->toGlyph('fa-home',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-secondary btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>";
|
||||
$info_icon = "<a class='btn btn-default btn-secondary btn-small btn-sm btn-inverse e-modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoPath."' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>";
|
||||
|
@@ -253,7 +253,7 @@
|
||||
<core name="search_highlight">1</core>
|
||||
<core name="search_restrict">0</core>
|
||||
<core name="session_lifetime">86400</core>
|
||||
<core name="session_save_method">files</core>
|
||||
<core name="session_save_method">db</core>
|
||||
<core name="shortdate">%d %b %Y : %H:%M</core>
|
||||
<core name="signcode">0</core>
|
||||
<core name="signup_disallow_text"></core>
|
||||
|
Reference in New Issue
Block a user